curl --request DELETE \
--url 'https://api.stateset.com/api/v1/carts/{id}/items/{item_id}' \
--header "Authorization: Bearer $STATESET_API_KEY"
Remove an item
No content — the item was removed from the cart
DELETE
/
api
/
v1
/
carts
/
{id}
/
items
/
{item_id}
curl --request DELETE \
--url 'https://api.stateset.com/api/v1/carts/{id}/items/{item_id}' \
--header "Authorization: Bearer $STATESET_API_KEY"
Path parameters
string
required
Cart ID
string
required
Cart item ID
Response
No response body. No content — the item was removed from the cart.Status codes
| Code | Meaning |
|---|---|
204 | No content — the item was removed from the cart |
404 | — |
curl --request DELETE \
--url 'https://api.stateset.com/api/v1/carts/{id}/items/{item_id}' \
--header "Authorization: Bearer $STATESET_API_KEY"
Last modified on August 31, 2026