For the complete documentation index, see llms.txt. This page is also available as Markdown.

Remove Coupon

To remove a coupon, provide the coupon_code of the coupon that was used.

Remove a coupon from the basket.

post

Removes a coupon code from a basket

Path parameters
basketIdentstringRequired

The basket identifier.

Example: c00244-d2ac2e77418a55b25292a6bc7a719ad9c529ba2c
Body
coupon_codestringOptionalExample: Academy10
Responses
200

Successful response.

No content

post/baskets/{basketIdent}/coupons/remove
POST /api/accounts/baskets/{basketIdent}/coupons/remove HTTP/1.1
Host: headless.tebex.io/
Content-Type: application/json
Accept: */*
Content-Length: 27

{
  "coupon_code": "Academy10"
}

No content

Last updated