Skip to main content

KDS

4 API calls in this section.

List KDS Orders

Restaurant Menu / KDS
GET/restaurant/kds/orders?location_id={{location_id}}&statuses=queued,preparing,ready&page=1&limit=10&append=false
Send a bearer token in the Authorization header for an authenticated OnDi user session.
Request
curl
1curl --request GET "$ONDI_BASE_URL/restaurant/kds/orders?location_id={{location_id}}&statuses=queued,preparing,ready&page=1&limit=10&append=false" \2  --header "Authorization: Bearer {{access_token}}"

Query parameters

location_idOptional
query string

{{location_id}}

statusesOptional
query string

queued,preparing,ready

pageOptional
query string

1

limitOptional
query string

10

appendOptional
query string

false

Headers

AuthorizationOptional
header string

Bearer {{access_token}}

Responses

No response example is available for this endpoint yet.

Print Ticket

Restaurant Menu / KDS
POST/restaurant/kds/tickets/:id/print
Send a bearer token in the Authorization header for an authenticated OnDi user session.
Request
curl
1curl --request POST "$ONDI_BASE_URL/restaurant/kds/tickets/:id/print" \2  --header "Authorization: Bearer {{access_token}}"

Path parameters

idRequired
path string

Headers

AuthorizationOptional
header string

Bearer {{access_token}}

Responses

No response example is available for this endpoint yet.

Update Ticket Status

Restaurant Menu / KDS
POST/restaurant/kds/tickets/:id/status
Send a bearer token in the Authorization header for an authenticated OnDi user session.
Request
curl
1curl --request POST "$ONDI_BASE_URL/restaurant/kds/tickets/:id/status" \2  --header "Authorization: Bearer {{access_token}}" \3  --header "Content-Type: application/json" \4  --data '{5  "status": "preparing"6}'
Request body
json
1{2  "status": "preparing"3}

Path parameters

idRequired
path string

Request body fields

statusExample
string

Example field from the request body.

Headers

AuthorizationOptional
header string

Bearer {{access_token}}

Responses

No response example is available for this endpoint yet.

Update Ticket ETA

Restaurant Menu / KDS
POST/restaurant/kds/tickets/:id/eta
Send a bearer token in the Authorization header for an authenticated OnDi user session.
Request
curl
1curl --request POST "$ONDI_BASE_URL/restaurant/kds/tickets/:id/eta" \2  --header "Authorization: Bearer {{access_token}}" \3  --header "Content-Type: application/json" \4  --data '{5  "eta_minutes": 156}'
Request body
json
1{2  "eta_minutes": 153}

Path parameters

idRequired
path string

Request body fields

eta_minutesExample
number

Example field from the request body.

Headers

AuthorizationOptional
header string

Bearer {{access_token}}

Responses

No response example is available for this endpoint yet.