Skip to main content
POST
/
carts
Create cart
curl --request POST \
  --url https://api.atlas.kitchen/admin/v1/carts \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --header 'X-Merchant-Id: <api-key>' \
  --data '
{
  "table_id": 123,
  "contact_name": "<string>",
  "pax": 2,
  "contact_email": "<string>",
  "contact_number": "<string>",
  "notes": "<string>",
  "cart_payment": {
    "amount": 2,
    "payment_type_id": 123
  }
}
'
{
  "id": 123,
  "identifier": "<string>",
  "fulfilment_type": "<string>",
  "timeslot_type": "<string>",
  "payment_type": "<string>",
  "payment_breakdown": {},
  "contact_name": "<string>",
  "contact_number": "<string>",
  "contact_email": "<string>",
  "table_id": 123,
  "notes": "<string>"
}

Authorizations

X-Api-Key
string
header
required

Your API key provided during onboarding. Example c2fb5ae6ea99c37d...

X-Merchant-Id
string
header
required

Your numeric merchant ID. Example 1

Body

application/json
table_id
integer
required
contact_name
string
required
pax
integer
required
Required range: x >= 1
contact_email
string
contact_number
string
notes
string
cart_payment
object

Response

Cart created

id
integer
identifier
string
fulfilment_type
string
timeslot_type
string
payment_type
string | null
payment_breakdown
object
contact_name
string
contact_number
string | null
contact_email
string | null
table_id
integer
notes
string | null