Using the Reservations API
The Reservations API (/api/v1/reservations) lets you read, create, change, move and update the status of a store's reservations; read, create, bulk-generate and delete reservation slots; list bookable menus and the times they can start; and read the store's reservation settings, its reservable tables, and monthly reservation counts. Every endpoint works on one store and requires storeId. For the shortest path to a read-only integration, see Show a store's reservations in your own calendar.
Scopes and permissions
| Scope | Endpoints |
|---|---|
store.reservations.read | Every GET (reservations, slots, settings, tables, menus, start times, counts) |
store.reservations.write | Every POST / PUT / DELETE (creating, changing and moving reservations; creating, generating and deleting slots) |
Tick the scope under the app's API scopes and include it in the scope parameter of the authorization URL. A missing scope returns 403.
- A token bound to a business account (the app default) can work with every store in that business account. No
organizationIdis needed; passing another business account'sorganizationIdreturns403. - A token that acts as a user needs
?organizationId=on every call. The user's own permissions apply; where they come from a store role, reading needs Staff or above and writing needs Shift lead or above.
Confirming the store ID
When storeId is wrong or belongs to another business account, every endpoint returns 404 ({"error":"store not found in this business account"}). Moving a reservation is the one exception in shape: it returns {"error":"store_not_found","message":"…"}. Get the store ID in one of these ways:
- Token that acts as a user: list the stores with
GET /api/v1/me/organizations/{organizationId}/stores. - Token bound to a business account: no endpoint lists stores. Take the store ID from the dashboard's reservations URL (
/organizations/{organizationId}/stores/{storeId}/reservations).
Endpoints
| Method | Path | Description |
|---|---|---|
| GET | /api/v1/reservations | List reservations (filter by status, from, to) |
| GET | /api/v1/reservations/{reservationId} | One reservation |
| POST | /api/v1/reservations | Create a reservation |
| PUT | /api/v1/reservations/{reservationId} | Change status, customer details, notes and more |
| POST | /api/v1/reservations/{reservationId}/move | Move a reservation to another slot |
| GET | /api/v1/reservations/slots | List slots |
| POST | /api/v1/reservations/slots | Create one slot |
| POST | /api/v1/reservations/slots/generate | Bulk-generate slots from the reservation settings |
| DELETE | /api/v1/reservations/slots/{slotId}?storeId= | Delete a slot |
| GET | /api/v1/reservations/config | The store's reservation settings |
| GET | /api/v1/reservations/tables | Reservable seating from the store layout |
| GET | /api/v1/reservations/menus | Bookable menus |
| GET | /api/v1/reservations/menus/{menuId}/availability | Times a menu can start |
| GET | /api/v1/reservations/stats | Counts by status for one month |
GET and DELETE take storeId in the query; POST and PUT take it in the JSON body. Dates are yyyy-MM-dd and times HH:mm. Reservation dates and times are the store's local time (Japan time) and carry no time zone. createdAt and updatedAt are UTC.
Reservation statuses
status is one of these six strings. Send them exactly as written, including case.
| Value | Meaning |
|---|---|
Pending | Not yet confirmed by the store. The seat is held. |
Confirmed | Confirmed; the customer is expected. |
Arrived | Checked in: the customer is here and not yet finished. |
Completed | The visit is over. |
Cancelled | Cancelled. |
NoShow | The customer did not turn up and did not cancel. |
Listing and reading reservations
curl -s "https://receiptroller.io/api/v1/reservations?storeId={storeId}&from=2026-11-01&to=2026-11-07" \
-H "Authorization: Bearer {access_token}"
storeIdis required. Without it you get400({"error":"storeId is required"}).fromandtobound the reservation date and include both ends. Leave them out to apply no date filter.statustakes one of the six values above. Only one value can be given.- Results are sorted by reservation date, then start time, earliest first. There is no paging: every matching reservation is returned, so request a bounded date range.
{
"count": 1,
"reservations": [
{
"id": "{reservationId}",
"storeId": "{storeId}",
"slotId": "{slotId}",
"reservationDate": "2026-11-03",
"startTime": "18:00",
"endTime": "19:00",
"durationMinutes": 60,
"status": "Confirmed",
"customerId": "",
"passId": "",
"paymentStatus": "None",
"paidAmount": 0,
"paidAt": null,
"customer": { "name": "Taro Yamada", "phone": "090-0000-0000", "email": "" },
"partySize": 4,
"partySizeFields": {},
"customFields": {},
"assignedResource": "Table 1",
"joinedSlotIds": [],
"menuId": "",
"menuName": "",
"staffId": "",
"notes": { "customer": "Window seat, please", "staff": "" },
"cancellationReason": "",
"price": 0,
"currency": "JPY",
"bookingSource": "API",
"createdAt": "2026-10-26T03:12:45Z",
"updatedAt": "2026-10-26T03:12:45Z"
}
]
}
- There are two notes:
notes.customer(the customer's request) andnotes.staff(the store's own note). customFieldsholds the answers to the store's extra booking-form fields.partySizeFieldsis the same content under an older name, kept for existing clients.assignedResourceis the name of the assigned table, room or staff member, not an ID.joinedSlotIdsis an array of the other slot IDs the reservation holds (joined tables, or the rest of a menu's run). It is an empty array for a single-slot reservation.menuIdandmenuNameidentify the booked menu and are empty strings when the reservation is not for a menu.menuNameis the name recorded at booking time.staffIdis the staff member serving the booking, or an empty string when none is assigned.paymentStatusis one ofNone,Paid,CardRegistered,Refunded,PartiallyRefunded.
Read one reservation with GET /api/v1/reservations/{reservationId}?storeId={storeId}. A reservation that is not in that store returns 404.
Creating a reservation
curl -s -X POST "https://receiptroller.io/api/v1/reservations" \
-H "Authorization: Bearer {access_token}" \
-H "Content-Type: application/json" \
-d '{
"storeId": "{storeId}",
"slotId": "{slotId}",
"reservationDate": "2026-11-03",
"startTime": "18:00",
"endTime": "19:00",
"durationMinutes": 60,
"customerName": "Taro Yamada",
"customerPhone": "090-0000-0000",
"customerEmail": "",
"partySize": 4,
"customerNotes": "Window seat, please",
"staffNotes": ""
}'
storeIdandcustomerNameare required; either one missing returns400.- With
slotId, the slot's capacity is claimed before the reservation is saved. The date and times are not copied from the slot, so sendreservationDate,startTimeandendTimeas well. - An unknown
slotIdreturns404({"error":"slot_not_found"}) and nothing is created. - If the slot is full or closed (including a slot closed for a holiday), you get
409and nothing is created. The body looks like{"error":"slot_unavailable","reason":"Full","message":"…"};reasonisFull,ClosedorContention(too many simultaneous bookings). Try another slot. statuscannot be set. The reservation starts asConfirmedwhen the store's settings auto-confirm bookings, and asPendingotherwise.paymentStatusis ignored if sent; the reservation starts asNone. Payment status is recorded from the payment itself.- When
bookingSourceis left out,APIis recorded. - The customer's note goes in
customerNotesand the store's note instaffNotes. Answers to the extra booking-form fields go incustomFieldsJsonas a JSON string (for example"{\"dietary\":\"shellfish allergy\"}"). - You can also record a reservation without a slot (for example a phone booking). No slot capacity is claimed for it.
Creating or changing a reservation through the API sends no confirmation or cancellation email to the customer and no notification to store staff. If the customer needs to hear from the store, send that from your own system.
Booking a menu with a duration
For stores whose menus take different lengths of time, such as a cut versus a cut and colour, first get the times the menu can start.
curl -s "https://receiptroller.io/api/v1/reservations/menus/{menuId}/availability?storeId={storeId}&date=2026-11-03&partySize=1" \
-H "Authorization: Bearer {access_token}"
{
"menuId": "{menuId}",
"menuName": "Cut and colour",
"durationMinutes": 90,
"date": "2026-11-03T00:00:00",
"count": 1,
"startTimes": [
{
"startTime": "10:00",
"endTime": "11:30",
"staffId": "{staffId}",
"assignedResource": "Sato",
"primarySlotId": "{slotId1}",
"joinedSlotIds": ["{slotId2}", "{slotId3}"]
}
]
}
Without date, today's start times in Japan time are returned. An unknown or inactive menu returns 404. Only start times where enough consecutive slots are free on the same table or staff member are returned.
To book, call POST /api/v1/reservations with slotId set to primarySlotId, joinedSlotIds set to the remaining slot IDs, and menuId set.
{
"storeId": "{storeId}",
"menuId": "{menuId}",
"slotId": "{slotId1}",
"joinedSlotIds": ["{slotId2}", "{slotId3}"],
"reservationDate": "2026-11-03",
"startTime": "10:00",
"endTime": "11:30",
"durationMinutes": 90,
"customerName": "Hanako Yamada"
}
joinedSlotIdscan be sent as the same array the availability response returns. A comma-separated string ("{slotId2},{slotId3}") is also accepted.- If you send
joinedSlotIdswithoutmenuId, the booking is treated as joined tables and each slot is taken whole. Always includemenuIdfor a menu booking. - The menu name and price are not filled in from the menu. Send
menuNameandpriceif you need them recorded.
List menus with GET /api/v1/reservations/menus?storeId=. By default only active menus are returned; add includeInactive=true to include inactive ones. Each menu includes menuId, name, durationMinutes, bufferMinutes, price, isActive and visibility, among others. visibility is a number: 0 public, 1 unlisted, 2 members only. A store that does not use menus returns an empty list.
Changing a reservation and its status
PUT /api/v1/reservations/{reservationId} changes only the fields present in the body; anything left out keeps its value. Send an empty string to clear a field.
curl -s -X PUT "https://receiptroller.io/api/v1/reservations/{reservationId}" \
-H "Authorization: Bearer {access_token}" \
-H "Content-Type: application/json" \
-d '{ "storeId": "{storeId}", "status": "Arrived" }'
The fields you can change are status, cancellationReason, customerName, customerPhone, customerEmail, customerNotes, staffNotes, assignedResource and customFields. storeId is required. customFields is an object and replaces the whole set of answers. The date, times and party size cannot be changed here; to change the time, use the move endpoint below.
Allowed status changes
- Only a
PendingorConfirmedreservation can becomeArrived. - A
Cancelled,NoShoworCompletedreservation cannot go back toPending,ConfirmedorArrived: its seat has already been released, so book again instead. - Corrections between
Cancelled,NoShowandCompletedare allowed. - A refused change returns
409({"error":"invalid_transition","message":"…"}); a value outside the six returns400.
What a status change does
- Moving a seat-holding reservation to
CancelledorNoShowgives its seats back to the slot. - On
Cancelled, stores that run a waitlist offer the freed seat to the people waiting, and a pass credit used for the booking is returned.cancellationReason, if sent, is recorded as the reason. - The confirmation and cancellation emails, no-show fee charges and refunds that the dashboard performs are not performed when the status is changed through the API.
Moving a reservation
curl -s -X POST "https://receiptroller.io/api/v1/reservations/{reservationId}/move" \
-H "Authorization: Bearer {access_token}" \
-H "Content-Type: application/json" \
-d '{ "storeId": "{storeId}", "slotId": "{newSlotId}" }'
Moves the reservation to another slot, keeping its customer, notes, pass credit and payment. The date, times and assigned table or staff member become those of the new slot. The new slot is claimed before the old one is released, so if it fills in the meantime the reservation stays where it was.
- A menu booking is laid out again from
slotId(the newprimarySlotId) across as many slots as the menu needs. - A joined-table booking is seated on the
joinedSlotIdsyou give (an array here), or wherever the party fits if you leave it out. - Only
PendingandConfirmedreservations can move. Others return409invalid_transition; stays and rentals return409not_movable; an unknown slot returns404slot_not_found; a slot that cannot take the booking returns409slot_unavailable.
Listing slots
curl -s "https://receiptroller.io/api/v1/reservations/slots?storeId={storeId}&from=2026-11-03&to=2026-11-03" \
-H "Authorization: Bearer {access_token}"
{
"count": 1,
"slots": [
{
"id": "{slotId}",
"storeId": "{storeId}",
"date": "2026-11-03",
"startTime": "18:00",
"endTime": "19:00",
"durationMinutes": 60,
"capacity": 4,
"capacityUnit": "Seats",
"bookedCount": 0,
"remainingCapacity": 4,
"isAvailable": true,
"assignedResource": "Table 1",
"resourceCategory": "{category}",
"price": 0,
"status": "Available",
"notes": ""
}
]
}
fromandtoinclude both ends. Withoutfrom, today's date in Japan time is used; withoutto, seven days afterfrom.- On a
Bookingsslot each reservation uses one unit of capacity; on aSeatsslot each reservation uses its party size. - Use
isAvailableto decide whether a slot can take a booking.
Creating and deleting slots
curl -s -X POST "https://receiptroller.io/api/v1/reservations/slots" \
-H "Authorization: Bearer {access_token}" \
-H "Content-Type: application/json" \
-d '{
"storeId": "{storeId}",
"slotDate": "2026-11-03",
"startTime": "18:00",
"endTime": "19:00",
"durationMinutes": 60,
"capacity": 4,
"capacityUnit": "Seats",
"assignedResource": "Table 1"
}'
storeId,slotDate,startTimeandendTimeare required.capacitydefaults to1andcapacityUnittoBookings.durationMinutesis not calculated from the times, so send it.assignedResourcetakes the name of the table, room or staff member. For a staff member's slot you can also setstaffId.resourceCategory,priceandnotesare also accepted.
Delete a slot with DELETE /api/v1/reservations/slots/{slotId}?storeId={storeId}; success returns 204. A slot that still holds reservations cannot be deleted and returns 409 ({"error":"slot_has_bookings","bookedCount":2}), where bookedCount is the slot's booked count. Cancel those reservations or move them to another slot first. An unknown slot returns 404.
Bulk-generating slots
curl -s -X POST "https://receiptroller.io/api/v1/reservations/slots/generate" \
-H "Authorization: Bearer {access_token}" \
-H "Content-Type: application/json" \
-d '{ "storeId": "{storeId}", "from": "2026-11-01", "to": "2026-11-30", "perResource": false }'
{ "created": 270 }
Creates slots from from to to (both included) using the business hours, regular closing days and slot length in the store's reservation settings, and returns how many were created. to earlier than from returns 400.
perResource: false: slot length isdefaultSlotDurationMinutes, capacity ismaxConcurrentBookings, and the unit isslotCapacityUnit. A slot is skipped if one already exists for the same date and start time. Days marked as one-off closures in the store's business hours are also skipped.perResource: true: creates slots for each reservable seating item in the store layout (table, room, counter, station). Capacity is that item's seat count, the unit isSeats, andassignedResourceis the item's name. A slot is skipped if one already exists for the same date, start time and item. Days marked as one-off closures in the store's business hours are also skipped. If the layout has no reservable seating, you get400.- A store with no reservation settings yet returns
{"created":0}. - If the settings have no business hours, slots are generated for Monday to Saturday, 10:00 to 19:00. The settings themselves are not changed.
Store reservation settings
GET /api/v1/reservations/config?storeId= returns the store's reservation settings as set in the dashboard. A store with no settings yet returns 404. The fields most useful for building a booking screen are:
| Field | Meaning |
|---|---|
storeType | The store's business type |
defaultSlotDurationMinutes | Slot length in minutes |
maxConcurrentBookings / slotCapacityUnit | Capacity per slot and its unit (Bookings or Seats) |
bookingWindowDays / minAdvanceHours | How many days ahead, and how many hours in advance at the latest, bookings are taken |
cancellationDeadlineHours | Hours before the start after which customers can no longer cancel themselves (0 means no deadline) |
autoConfirm | Whether new bookings are confirmed automatically |
businessHours | Opening hours keyed mon to sun (open, close, closed, ranges) |
closedDayList | Regular closing days (an array such as mon) |
customFields | Extra booking-form fields (key, label, type, required, options, placeholder) |
For the other fields, see the API reference. Settings are changed in the dashboard.
Reading tables
GET /api/v1/reservations/tables?storeId= returns the reservable seating in the store layout. A store that is not in the business account returns 404.
{
"count": 2,
"tables": [
{ "id": "{itemId}", "name": "Room A", "type": "room", "typeDisplayName": "…", "capacity": 8 },
{ "id": "{itemId}", "name": "Table 1", "type": "table", "typeDisplayName": "…", "capacity": 4 }
]
}
typeistable,room,counterorstation.typeDisplayNameis a display label in Japanese; usetypein code.- The
assignedResourceof slots and reservations holds thenamereturned here, not theid. - To include the staff members who can take bookings, use
GET /api/v1/reservations/resources. - The seating layout itself is edited in the dashboard's layout editor.
Monthly counts
curl -s "https://receiptroller.io/api/v1/reservations/stats?storeId={storeId}&month=2026-11-01" \
-H "Authorization: Bearer {access_token}"
{
"totalReservations": 42,
"confirmed": 20,
"pending": 3,
"arrived": 1,
"completed": 12,
"cancelled": 5,
"noShow": 1,
"todayCount": 4,
"tomorrowCount": 6
}
- Pass any date in the month as
month. Leave it out for the current month. todayCountandtomorrowCountcount today's and tomorrow's reservations that arePending,ConfirmedorArrived. Today and tomorrow are Japan-time dates, and only reservations in the requested month are counted.
Errors
401: the token is missing, invalid or expired. No body.403: a scope or permission is missing, or theorganizationIdbelongs to another business account. No body.400/404/409: a body of the form{"error":"…"}, sometimes withmessageorreason.messagemay be in Japanese; branch onerrorandreason.
There is no webhook event for reservations being created or changed. To pick up changes, poll the reservation list over a bounded date range.
Related guides
-
Using the Store Information APIA guide to the REST API for fetching and updating a store's basic information (store name, store type, contact details, and address). Lets you implement a store information editing screen from token-authenticated clients such as staff apps.
-
Purchase and receipt data integrationExplains the structure of the purchase and receipt data ReceiptRoller handles, how to retrieve it, related scopes, Webhooks, and common use cases.
-
PosTransactionDto specification — field reference for transaction dataA complete field reference for PosTransactionDto, the canonical model for the transaction data ReceiptRoller handles. For each category — identifiers, dates, amounts, line items, payments, staff, status, and CRM linkage — it summarizes the field names, types, meanings, and how each POS vendor populates them. A reference for developers and external-system integrators. Also referenced from the Smaregi and Square mapping articles.
-
Using the Orders / OMS APIA guide to CRUD operations on the orders under a business account using ReceiptRoller's Orders / OMS API (/api/v1/orders). Covers creating, updating, transitioning status (confirm, process, cancel), and deleting orders, plus the flow for Android / iOS apps and server integrations.
-
Using the Business Hours APIA guide to ReceiptRoller's Business Hours API (/api/v1/stores/{storeId}/business-hours). Covers retrieving and updating per-day business hours, registering special business days (temporary closures and hour changes), configuring a store's workable hours (the upper bound for shift creation), and determining whether the store is currently open.