Skip to main content
POST
/
cart
/
validation
Validate cart
curl --request POST \
  --url https://api.atlas.kitchen/storefronts/v1/cart/validation \
  --header 'X-Channel-Id: <api-key>'
{
  "valid": true,
  "token": "<string>",
  "errors": [
    {
      "field": "<string>",
      "message": "<string>"
    }
  ]
}

Authorizations

X-Channel-Id
string
header
required

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

Response

200 - application/json

Validation result

valid
boolean
token
string | null

MD5 hash for duplicate payment prevention. Null when invalid.

errors
object[] | null