Skip to navigation

Clear Cart

View as Markdown

Removes every line and the promotion code. The cart and its token stay valid.

Keys: public key or secret key.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

identitystring
The identity for the active workspace.

Headers

channelstringRequired
cart-tokenstringRequired

The token returned when the cart was created. Treat it as a secret: never put it in a URL or a log.

Response

Successfully cleared cart
statusboolean

Always true on success.

messagestring

Human-readable outcome.

dataobject

Errors

400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
404
Not Found Error