curl --silent --show-error --fail-with-body --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 --silent --show-error --fail-with-body --request DELETE \
--url 'https://api.stateset.com/api/v1/carts/{id}/items/{item_id}' \
--header "Authorization: Bearer $STATESET_API_KEY"
Confirm your deployment before running this request. This page describes an API contract;
a published reference does not establish hosted availability. Check the dated
host report and obtain your deployment URL and credentials.
Replace the example host if your provisioned service uses a different URL.
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 | — |
Using this contract
Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.curl --silent --show-error --fail-with-body --request DELETE \
--url 'https://api.stateset.com/api/v1/carts/{id}/items/{item_id}' \
--header "Authorization: Bearer $STATESET_API_KEY"
Last modified on September 21, 2026