Skip to main content
DELETE
/
api
/
storefront
/
cart
/
{cart_id}
/
discounts
Remove Discount
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.

Headers

X-Site-ID
string
required
X-Stella-Token
string | null

Path Parameters

cart_id
string<uuid>
required

Response

Successful Response