GET /Sales
Sales
GET /Sales
Retrieve paginated sales data linked to bookings.
GET
GET /Sales
Retrieve paginated sales data linked to bookings. Filter by date range to narrow results.
Response is a paginated result with
saleDetail fields
Example 200 Response
Your API key
Filter by sale date (start). Format:
yyyy-MM-ddTHH:mm:ss.fffZFilter by sale date (end). Format:
yyyy-MM-ddTHH:mm:ss.fffZNumber of records to return
Zero-based offset for pagination
from, to, length, and items (array of SalesDataReport).
SalesDataReport fields
| Field | Type | Description |
|---|---|---|
bookingId | string | NowBookIt booking ID |
method | string | Booking method (e.g. online) |
bookingTime | string | UTC booking datetime |
duration | integer | Duration in minutes |
people | integer | Number of guests |
serviceId | string | Service ID |
serviceName | string | Service name |
serviceType | string | Service type |
notes | string | Booking notes |
lastModifiedDate | string | UTC last modified datetime |
customer | object | Customer details |
tables | array | Assigned tables |
tags | array | Booking tags |
status | object | { statusType, code, name } |
saleDetail | object | POS sale data — see below |
| Field | Type | Description |
|---|---|---|
transactionId | string | POS sale ID |
transactionDateTime | string | UTC close time |
storeName | string | Store/venue name |
posName | string | POS system name |
posId | string | POS system ID |
staffId | string | Staff member ID |
staffName | string | Staff member name |
total | number | Total amount (dollars) |
totalExTax | number | Total excluding tax |
tax | number | Tax amount |
discount | number | Discount amount |
tipAmount | number | Tip amount |
status | string | Sale status |
actualStartTime | string | Actual start time |
actualEndTime | string | Actual end time |
payments | array | Payment records |
items | array | Line items |
| Status | Description |
|---|---|
200 | Sales returned |
400 | Filter dates null |
400 | StartDate invalid format |
400 | EndDate invalid format |
400 | loggedInAppId |
400 | No Venue Subscribed to your App. |
401 | X-API-KEY missing or invalid |