Skip to main content
GET
/
Sales
GET /Sales
curl --request GET \
  --url https://{base_url}/Sales \
  --header 'X-API-KEY: <x-api-key>'
Retrieve paginated sales data linked to bookings. Filter by date range to narrow results.
X-API-KEY
string
required
Your API key
StartDate
string
Filter by sale date (start). Format: yyyy-MM-ddTHH:mm:ss.fffZ
EndDate
string
Filter by sale date (end). Format: yyyy-MM-ddTHH:mm:ss.fffZ
Limit
integer
Number of records to return
StartIndex
integer
Zero-based offset for pagination
curl --location '[BASE_URL]/Sales?StartDate=2024-03-20T00:00:00.000Z&EndDate=2024-03-20T23:59:59.000Z&Limit=20&StartIndex=0' \
--header 'X-API-KEY: your_api_key_here'
Response is a paginated result with from, to, length, and items (array of SalesDataReport). SalesDataReport fields
FieldTypeDescription
bookingIdstringNowBookIt booking ID
methodstringBooking method (e.g. online)
bookingTimestringUTC booking datetime
durationintegerDuration in minutes
peopleintegerNumber of guests
serviceIdstringService ID
serviceNamestringService name
serviceTypestringService type
notesstringBooking notes
lastModifiedDatestringUTC last modified datetime
customerobjectCustomer details
tablesarrayAssigned tables
tagsarrayBooking tags
statusobject{ statusType, code, name }
saleDetailobjectPOS sale data — see below
saleDetail fields
FieldTypeDescription
transactionIdstringPOS sale ID
transactionDateTimestringUTC close time
storeNamestringStore/venue name
posNamestringPOS system name
posIdstringPOS system ID
staffIdstringStaff member ID
staffNamestringStaff member name
totalnumberTotal amount (dollars)
totalExTaxnumberTotal excluding tax
taxnumberTax amount
discountnumberDiscount amount
tipAmountnumberTip amount
statusstringSale status
actualStartTimestringActual start time
actualEndTimestringActual end time
paymentsarrayPayment records
itemsarrayLine items
Example 200 Response
{
  "from": 0,
  "to": 1,
  "length": 1,
  "items": [
    {
      "bookingId": "abc-123",
      "method": "online",
      "bookingTime": "2024-03-20T19:00:00Z",
      "duration": 90,
      "people": 4,
      "serviceId": "svc-101",
      "serviceName": "Dinner Service",
      "status": { "statusType": "standard", "code": "COMPLETED", "name": "Completed" },
      "saleDetail": {
        "transactionId": "pos-sale-9981",
        "transactionDateTime": "2024-03-20T20:45:00Z",
        "storeName": "Main Venue",
        "total": 185.00,
        "totalExTax": 168.18,
        "tax": 16.82,
        "payments": [{ "type": "EFTPOS", "amount": 185.00, "status": "APPROVED" }],
        "items": [{ "productName": "Wagyu Steak", "category": "food", "quantity": 2, "unitPrice": 65.00 }]
      }
    }
  ]
}
StatusDescription
200Sales returned
400Filter dates null
400StartDate invalid format
400EndDate invalid format
400loggedInAppId
400No Venue Subscribed to your App.
401X-API-KEY missing or invalid