Add voucher to basket
Adds a voucher on the basket
Authorization
BearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
The id of the basket
Header Parameters
x-api-key*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/baskets/string/voucher" \ -H "x-api-key: string" \ -H "Content-Type: application/json" \ -d '{ "voucherCode": "string" }'{ "notificationId": "string"}