Delete Line item
1 min
DELETE
https://api.fictive.com/REST/api/carts/{cartReference}/line-items/{lineItemResourceReference}
cartReferencestringThe input cart identifier having the line item to be deleted.
lineItemResourceReferencestringThe input line item identifier to be deleted.
X-TokenIdstringThe eSuite Token Id
X-SessionIdstringThe eSuite Session Id
X-VersionstringThe eSuite Version
OriginstringThe eSuite Origin
204Line item was successfully deleted.
403Cannot amend or delete a cart that has been purchased.
404Cart cannot be found.
curl --request DELETE \
--url https://api.fictive.com/REST/api/carts/{cartReference}/line-items/{lineItemResourceReference} \
--header 'accept: application/json' \
--header 'x-version: string'Have a question?
Our super-smart AI, knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.