Using the Reservations API

API OAuth Reservations Slots Menus Tables Status Android iOS

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

ScopeEndpoints
store.reservations.readEvery GET (reservations, slots, settings, tables, menus, start times, counts)
store.reservations.writeEvery 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 organizationId is needed; passing another business account's organizationId returns 403.
  • 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

MethodPathDescription
GET/api/v1/reservationsList reservations (filter by status, from, to)
GET/api/v1/reservations/{reservationId}One reservation
POST/api/v1/reservationsCreate a reservation
PUT/api/v1/reservations/{reservationId}Change status, customer details, notes and more
POST/api/v1/reservations/{reservationId}/moveMove a reservation to another slot
GET/api/v1/reservations/slotsList slots
POST/api/v1/reservations/slotsCreate one slot
POST/api/v1/reservations/slots/generateBulk-generate slots from the reservation settings
DELETE/api/v1/reservations/slots/{slotId}?storeId=Delete a slot
GET/api/v1/reservations/configThe store's reservation settings
GET/api/v1/reservations/tablesReservable seating from the store layout
GET/api/v1/reservations/menusBookable menus
GET/api/v1/reservations/menus/{menuId}/availabilityTimes a menu can start
GET/api/v1/reservations/statsCounts 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.

ValueMeaning
PendingNot yet confirmed by the store. The seat is held.
ConfirmedConfirmed; the customer is expected.
ArrivedChecked in: the customer is here and not yet finished.
CompletedThe visit is over.
CancelledCancelled.
NoShowThe 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}"
  • storeId is required. Without it you get 400 ({"error":"storeId is required"}).
  • from and to bound the reservation date and include both ends. Leave them out to apply no date filter.
  • status takes 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) and notes.staff (the store's own note).
  • customFields holds the answers to the store's extra booking-form fields. partySizeFields is the same content under an older name, kept for existing clients.
  • assignedResource is the name of the assigned table, room or staff member, not an ID.
  • joinedSlotIds is 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.
  • menuId and menuName identify the booked menu and are empty strings when the reservation is not for a menu. menuName is the name recorded at booking time. staffId is the staff member serving the booking, or an empty string when none is assigned.
  • paymentStatus is one of None, 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": ""
  }'
  • storeId and customerName are required; either one missing returns 400.
  • With slotId, the slot's capacity is claimed before the reservation is saved. The date and times are not copied from the slot, so send reservationDate, startTime and endTime as well.
  • An unknown slotId returns 404 ({"error":"slot_not_found"}) and nothing is created.
  • If the slot is full or closed (including a slot closed for a holiday), you get 409 and nothing is created. The body looks like {"error":"slot_unavailable","reason":"Full","message":"…"}; reason is Full, Closed or Contention (too many simultaneous bookings). Try another slot.
  • status cannot be set. The reservation starts as Confirmed when the store's settings auto-confirm bookings, and as Pending otherwise.
  • paymentStatus is ignored if sent; the reservation starts as None. Payment status is recorded from the payment itself.
  • When bookingSource is left out, API is recorded.
  • The customer's note goes in customerNotes and the store's note in staffNotes. Answers to the extra booking-form fields go in customFieldsJson as 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"
}
  • joinedSlotIds can be sent as the same array the availability response returns. A comma-separated string ("{slotId2},{slotId3}") is also accepted.
  • If you send joinedSlotIds without menuId, the booking is treated as joined tables and each slot is taken whole. Always include menuId for a menu booking.
  • The menu name and price are not filled in from the menu. Send menuName and price if 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 Pending or Confirmed reservation can become Arrived.
  • A Cancelled, NoShow or Completed reservation cannot go back to Pending, Confirmed or Arrived: its seat has already been released, so book again instead.
  • Corrections between Cancelled, NoShow and Completed are allowed.
  • A refused change returns 409 ({"error":"invalid_transition","message":"…"}); a value outside the six returns 400.

What a status change does

  • Moving a seat-holding reservation to Cancelled or NoShow gives 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 new primarySlotId) across as many slots as the menu needs.
  • A joined-table booking is seated on the joinedSlotIds you give (an array here), or wherever the party fits if you leave it out.
  • Only Pending and Confirmed reservations can move. Others return 409 invalid_transition; stays and rentals return 409 not_movable; an unknown slot returns 404 slot_not_found; a slot that cannot take the booking returns 409 slot_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": ""
    }
  ]
}
  • from and to include both ends. Without from, today's date in Japan time is used; without to, seven days after from.
  • On a Bookings slot each reservation uses one unit of capacity; on a Seats slot each reservation uses its party size.
  • Use isAvailable to 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, startTime and endTime are required.
  • capacity defaults to 1 and capacityUnit to Bookings. durationMinutes is not calculated from the times, so send it.
  • assignedResource takes the name of the table, room or staff member. For a staff member's slot you can also set staffId. resourceCategory, price and notes are 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 is defaultSlotDurationMinutes, capacity is maxConcurrentBookings, and the unit is slotCapacityUnit. 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 is Seats, and assignedResource is 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 get 400.
  • 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:

FieldMeaning
storeTypeThe store's business type
defaultSlotDurationMinutesSlot length in minutes
maxConcurrentBookings / slotCapacityUnitCapacity per slot and its unit (Bookings or Seats)
bookingWindowDays / minAdvanceHoursHow many days ahead, and how many hours in advance at the latest, bookings are taken
cancellationDeadlineHoursHours before the start after which customers can no longer cancel themselves (0 means no deadline)
autoConfirmWhether new bookings are confirmed automatically
businessHoursOpening hours keyed mon to sun (open, close, closed, ranges)
closedDayListRegular closing days (an array such as mon)
customFieldsExtra 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 }
  ]
}
  • type is table, room, counter or station. typeDisplayName is a display label in Japanese; use type in code.
  • The assignedResource of slots and reservations holds the name returned here, not the id.
  • 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.
  • todayCount and tomorrowCount count today's and tomorrow's reservations that are Pending, Confirmed or Arrived. 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 the organizationId belongs to another business account. No body.
  • 400 / 404 / 409: a body of the form {"error":"…"}, sometimes with message or reason. message may be in Japanese; branch on error and reason.

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

Published: 2026-06-11 Updated: 2026-11-14
About this topic
Developer API
See the feature
Tags
API (24) OAuth (18) Android (10) iOS (8) Webhook (5) App registration (4) Node.js (4) PIM (4) POS Integration (4) Quickstart (4)
Related articles