Remove a voucher

Removes a previously applied promo code from the cart. Idempotent — returns 204 even if the code was not applied to the cart.

Authentication

X-TT-API-Keystring
API Key authentication via header

Path parameters

cartIdstringRequiredformat: "(?i)^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
codestringRequired0-15 characters

Headers

X-TT-PlatformenumRequired
Identifies the platform the request comes from.
Allowed values:

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error