Skip to main content
POST
/
orders
Create order
curl --request POST \
  --url https://integrations.clopos.com/open-api/orders \
  --header 'Content-Type: application/json' \
  --header 'x-brand: <api-key>' \
  --header 'x-token: <api-key>' \
  --header 'x-venue: <api-key>' \
  --data '
{
  "customer_id": 123,
  "payload": {
    "auto_accept_terminal": 123,
    "auto_order_accept": true,
    "auto_order_sent_to_station": true
  }
}
'
{
  "error": "<string>",
  "message": "<string>",
  "details": {}
}

Authorizations

x-token
string
header
required

Access token obtained from /auth endpoint

x-brand
string
header
required

Brand identifier

x-venue
string
header
required

Venue identifier

Body

application/json

Order details

customer_id
integer
required

Customer identifier

payload
object
required

Order content and processing directives

Response

Order created successfully