For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

get
/tenants/{tenantUid}/stores/{storeUid}/tills/{tillUid}/zreports
Authorizations
AuthorizationstringRequired

Access token recevied after user login with a deviceToken

Path parameters
storeUidstringRequired

Reference to a Store.

Pattern: ^[A-Za-z0-9-_]+
tillUidstringRequired

Reference to a till.

Pattern: ^[A-Za-z0-9-_]+
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Query parameters
fromstring · dateOptional

First date, inclusive, in the tenant's time zone. Default is to minus 365 days.

tostring · dateOptional

Last date, inclusive. Default is today.

pageNumberintegerOptional

Reference to a specific page in a result set.

pageSizeintegerOptional

The number of items per page in a result set.

Responses
200

The Z reports in the period.

application/json
get/tenants/{tenantUid}/stores/{storeUid}/tills/{tillUid}/zreports
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?