curl --request DELETE \
--url https://api.example.com/api/storefront/cart/{cart_id}/discounts \
--header 'X-Site-ID: <x-site-id>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Remove the discount currently applied to a cart. Idempotent — returns 204 even if no code was applied. Audit only on actual state change.
curl --request DELETE \
--url https://api.example.com/api/storefront/cart/{cart_id}/discounts \
--header 'X-Site-ID: <x-site-id>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.stella-commerce.com/llms.txt
Use this file to discover all available pages before exploring further.