OneBasket

Remove voucher from basket

DELETE
/baskets/{id}/voucher

Removes a voucher from 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 DELETE "https://example.com/baskets/string/voucher" \  -H "x-api-key: string" \  -H "Content-Type: application/json" \  -d '{    "voucherCode": "string"  }'
{  "notificationId": "string"}