Skip to main content
PUT
/
cart
/
points
Toggle points
curl --request PUT \
  --url https://api.atlas.kitchen/storefronts/v1/cart/points \
  --header 'Content-Type: application/json' \
  --header 'X-Channel-Id: <api-key>' \
  --header 'X-Session-Id: <api-key>' \
  --data '
{
  "use_points": true
}
'
{
  "use_points": true
}

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
use_points
boolean
required

Response

200 - application/json

Points preference updated

use_points
boolean