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>' \
  --data '
{
  "promo_code": "WELCOME10"
}
'
{
  "type": "Invalid Parameter",
  "message": "<string>",
  "details": [
    {
      "field": "<string>",
      "message": "<string>"
    }
  ]
}

Authorizations

X-Channel-Id
string
header
required

Channel identifier. A second header X-Session-Id is also required.

Body

application/json
promo_code
string
required
Example:

"WELCOME10"

Response

Promo applied