Cashier
7 API calls in this section.
List Tables (Cashier)
/restaurant/cashier/tablesShow the tables at a restaurant location in the cashier workspace.
Query parameters
| Parameter | Type | Description |
|---|---|---|
location_id | string | Example: |
page | string | Example: |
limit | string | Example: |
Headers
| Parameter | Type | Description |
|---|---|---|
Authorization | string | Example: |
1curl --globoff --request GET "https://staging-api.ondi.io/functions/v1/restaurant/cashier/tables?location_id=${LOCATION_ID}&page=1&limit=10" \2 --header "Authorization: Bearer ${ONDI_ACCESS_TOKEN}"Response examples
No saved response example. Use Try it to inspect a staging response.
List Dine-In Orders (Cashier)
/restaurant/cashier/orders/dine-inBrowse dine-in orders at a location, with status and pagination filters for the cashier view.
Query parameters
| Parameter | Type | Description |
|---|---|---|
location_id | string | Example: |
status | string | — |
page | string | Example: |
limit | string | Example: |
append | string | Example: |
Headers
| Parameter | Type | Description |
|---|---|---|
Authorization | string | Example: |
1curl --globoff --request GET "https://staging-api.ondi.io/functions/v1/restaurant/cashier/orders/dine-in?location_id=${LOCATION_ID}&status=&page=1&limit=10&append=false" \2 --header "Authorization: Bearer ${ONDI_ACCESS_TOKEN}"Response examples
No saved response example. Use Try it to inspect a staging response.
List Takeout Orders (Cashier)
/restaurant/cashier/orders/takeoutBrowse takeout orders at a location for cashier processing.
Query parameters
| Parameter | Type | Description |
|---|---|---|
location_id | string | Example: |
status | string | — |
page | string | Example: |
limit | string | Example: |
append | string | Example: |
Headers
| Parameter | Type | Description |
|---|---|---|
Authorization | string | Example: |
1curl --globoff --request GET "https://staging-api.ondi.io/functions/v1/restaurant/cashier/orders/takeout?location_id=${LOCATION_ID}&status=&page=1&limit=10&append=false" \2 --header "Authorization: Bearer ${ONDI_ACCESS_TOKEN}"Response examples
No saved response example. Use Try it to inspect a staging response.
List Delivery Orders (Cashier)
/restaurant/cashier/orders/deliveryReturns delivery orders including delivery_status_timeline
[{ status, from_status, at }].
Query parameters
| Parameter | Type | Description |
|---|---|---|
location_id | string | Example: |
status | string | — |
page | string | Example: |
limit | string | Example: |
append | string | Example: |
Headers
| Parameter | Type | Description |
|---|---|---|
Authorization | string | Example: |
1curl --globoff --request GET "https://staging-api.ondi.io/functions/v1/restaurant/cashier/orders/delivery?location_id=${LOCATION_ID}&status=&page=1&limit=10&append=false" \2 --header "Authorization: Bearer ${ONDI_ACCESS_TOKEN}"Response examples
No saved response example. Use Try it to inspect a staging response.
Get Order Detail (Cashier)
/restaurant/cashier/orders/:orderIdReturns order detail including delivery_status_timeline
[{ status, from_status, at }].
Path parameters
| Parameter | Type | Description |
|---|---|---|
orderIdRequired | string | Dynamic path value from the request URL. |
Headers
| Parameter | Type | Description |
|---|---|---|
Authorization | string | Example: |
1curl --globoff --request GET "https://staging-api.ondi.io/functions/v1/restaurant/cashier/orders/${ORDERID}" \2 --header "Authorization: Bearer ${ONDI_ACCESS_TOKEN}"Response examples
No saved response example. Use Try it to inspect a staging response.
Mark Pay-At-Counter Order Paid
/restaurant/cashier/orders/:orderId/mark-paidRecord payment for an order using pay-at-counter. A pending order becomes approved; an order using another payment method is rejected.
Path parameters
| Parameter | Type | Description |
|---|---|---|
orderIdRequired | string | Dynamic path value from the request URL. |
Headers
| Parameter | Type | Description |
|---|---|---|
Authorization | string | Example: |
1curl --globoff --request POST "https://staging-api.ondi.io/functions/v1/restaurant/cashier/orders/${ORDERID}/mark-paid" \2 --header "Authorization: Bearer ${ONDI_ACCESS_TOKEN}"Response examples
No saved response example. Use Try it to inspect a staging response.
Close Session
/restaurant/cashier/sessions/:sessionId/closeClose a dine-in session and record its closing time.
Path parameters
| Parameter | Type | Description |
|---|---|---|
sessionIdRequired | string | Dynamic path value from the request URL. |
Headers
| Parameter | Type | Description |
|---|---|---|
Authorization | string | Example: |
1curl --globoff --request POST "https://staging-api.ondi.io/functions/v1/restaurant/cashier/sessions/${SESSIONID}/close" \2 --header "Authorization: Bearer ${ONDI_ACCESS_TOKEN}"Response examples
No saved response example. Use Try it to inspect a staging response.