# Voucher
A vistior can add a voucher to their cart.
# Endpoint
POST
/voucher
# Fields
Name | Required |
---|---|
voucher | true |
# Example
<form action="/voucher" method="POST">
<input type="text" name="voucher">
<button>Add voucher</button>
{{ csrf.field }}
</form>
voucher
The code of the voucher you want to add to cart.