Delete Cart
Delete a Cart
in Violet given the cart_id
. This cart will also be deleted in any underlying e-commerce platforms. You cannot undo this action or recover this Cart
.
Path parameters
cart_idinteger · int64Required
Header parameters
X-Violet-TokenstringRequired
X-Violet-App-SecretstringRequired
X-Violet-App-Idinteger · int32Required
Responses
204
delete cart
application/json
ResponsestringExample:
no content
400
bad request
application/json
404
not found
application/json
delete
DELETE /v1/checkout/cart/{cart_id} HTTP/1.1
Host: sandbox-api.violet.io
X-Violet-Token: text
X-Violet-App-Secret: text
X-Violet-App-Id: 1
Accept: */*
no content
Last updated
Was this helpful?