Reservations API
Table reservations, the same as in POS → Organiser → Reservations. For access, paging, filters and getting only changes, see API basics.
Reservations
GET /api/consumer_booking/search
Example request
Reservations of one day that are not canceled:
curl -g -G 'https://{company}.smarton.app/api/consumer_booking/search' \
-H 'Authorization: <token>' \
--data-urlencode 'paginate=true' \
--data-urlencode 'limit=200' \
--data-urlencode 'start=>=2026-10-11T00:00:00Z&<2026-10-12T00:00:00Z' \
--data-urlencode 'status=!=canceled' \
--data-urlencode 'partialJoin[orderConsumer][]=name' \
--data-urlencode 'partialJoin[customer][]=name' \
--data-urlencode 'sort[start]=asc'
Fields
| Field | Meaning |
|---|---|
id | Unique ID. |
start, end | Start and end of the reservation, in UTC. |
numberOfVisitors | Number of guests. |
status | created (new), confirmed or canceled. |
isConfirmed | Confirmed. |
name, phone, email | The guest's contacts as entered. |
orderConsumer | The reserved table. Tables and zones are described in POS API. |
customer, customerEmployee | The customer and contact person, when the reservation is linked to one (see Customers API). |
sum | Amount of the reservation. |
comments, createdAt, updatedAt | Comments and when the reservation was made and last changed. |
With an API key
Reservations are not available with an API key. Use a login (API basics → Access, way 1).
English