R2 Developers
R2 Connect API

Orders

Every commercial transaction of the business, from any vertical: lodging, restaurant, store and experiences.

GET/ordersrequires read:orders
GET/orders/{order_number}requires read:orders

Same fields as reservations, but without filtering by vertical. This is the right resource for accounting: a hotel with a restaurant generates both types and both must be recorded.

Parameters#

ParameterTypeDescription
limitintegerResults per page. Between 1 and 50. Default: 25.
cursorstringCursor for the next page, taken from pagination.cursor.
created_fromdateStart date, format YYYY-MM-DD (UTC) or epoch milliseconds.
created_todateEnd date, inclusive. Same format.
statusstringFilter by exact status.
ParameterTypeDescription
typestringFilter by order type. Available on this resource only.

Order types#

ValueWhat it represents
bookingLodging reservation.
space_bookingBooking of a space rented by the hour.
dine_inOn-premise consumption.
commandRestaurant order ticket.
takeout · pickupTakeout or pickup.
deliveryDelivery.
room_serviceRoom service.

Example#

bash
# All orders in July
curl -H "Authorization: Bearer YOUR_KEY" \
  "https://api.r2-os.com/api/connect/v1/orders?created_from=2026-07-01&created_to=2026-07-31&limit=50"

# Restaurant tickets only, already completed
curl -H "Authorization: Bearer YOUR_KEY" \
  "https://api.r2-os.com/api/connect/v1/orders?type=command&status=completed"