Skip to main content
PUT
/
cart
/
promo
Apply promo
curl --request PUT \
  --url https://api.atlas.kitchen/storefronts/v1/cart/promo \
  --header 'Content-Type: application/json' \
  --header 'X-Channel-Id: <api-key>' \
  --header 'X-Session-Id: <api-key>' \
  --data '
{
  "promo_code": "WELCOME10"
}
'
{
  "type": "Invalid Parameter",
  "message": "<string>",
  "details": [
    {
      "field": "<string>",
      "message": "<string>"
    }
  ]
}

Authorizations

X-Channel-Id
string
header
required

Merchant storefront identifier. Provided during onboarding.

X-Session-Id
string
header
required

Diner session identifier. Created by GET /channel and returned in the X-Session-Id response header.

Body

application/json
promo_code
string
required
Example:

"WELCOME10"

Response

Promo applied