List Z reports for a till
Lists the Z reports of a till, newest first: the stored ones in the period, then one GENERATED row per date with sales that lies before stored Z reports started. GENERATED rows only have id, source and date; get one to see its figures.
Required permissions: TILL_OPERATION
Access token recevied after user login with a deviceToken
Reference to a Store.
^[A-Za-z0-9-_]+Reference to a till.
^[A-Za-z0-9-_]+Reference to a tenant.
^[A-Za-z0-9-_]+First date, inclusive, in the tenant's time zone. Default is to minus 365 days.
Last date, inclusive. Default is today.
Reference to a specific page in a result set.
The number of items per page in a result set.
The Z reports in the period.
Linking failed. Ther error message will have information about what failed.
Linking failed. Ther error message will have information about what failed.
GET /v2/tenants/{tenantUid}/stores/{storeUid}/tills/{tillUid}/zreports HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"items": [
{
"id": "text",
"tillUid": "text",
"source": "STORED",
"sequenceNumber": 1,
"date": "2026-01-01",
"periodFrom": "2026-01-01T00:00:00.000Z",
"periodTo": "2026-01-01T00:00:00.000Z",
"producedAt": "2026-01-01T00:00:00.000Z",
"producedBy": "TILL_CLOSE",
"receiptCount": 1,
"totalSales": 1,
"returnCount": 1,
"returnAmount": 1,
"grandTotalSales": 1,
"grandTotalReturn": 1,
"grandTotalNet": 1
}
],
"paging": {
"pageNumber": 1,
"pageSize": 1,
"totalCount": 1
}
}Last updated
Was this helpful?

