Query parameters
Shared filters, date ranges, pagination, and response envelopes used by Public API endpoints.
Most list and analytics endpoints share the same query parameter rules.
Pagination
Use limit and cursor on paginated endpoints.
limit=25
cursor=7c27f7e2-8d34-4d3b-87e9-70f2c1b0b6b0Rules:
- Default
limitis25for resource lists and100for product analytics. - Maximum
limitis100. - On resource lists,
cursormust be the UUID returned aspagination.nextCursor. - On
/analytics/products,cursoris an opaque string. Send it back unchanged and keep the date, store, andgroupByfilters the same. - If
pagination.nextCursoris absent, there is no next page.
Store filtering
Use storeIds to limit a request to one or more branches:
storeIds=store-uuid-1,store-uuid-2Repeated params are also accepted:
storeIds=store-uuid-1&storeIds=store-uuid-2If omitted, the request reads all branches in the key organization. If a requested store is outside the organization, the API returns 403.
Date ranges
Sales, promotions, inventory logs, and analytics endpoints accept ISO date strings:
from=2026-06-01T00:00:00.000Z
to=2026-06-24T23:59:59.999ZFor sales, inventory logs, and analytics, the API uses the last 30 days through the end of the current UTC day when the range is omitted. Promotion dates instead filter configured schedules by overlap and have no default range.
Sales, inventory-log, and analytics responses include their resolved range in meta.dateRange:
{
"meta": {
"dateRange": {
"from": "2026-06-01T00:00:00.000Z",
"to": "2026-06-24T23:59:59.999Z"
}
}
}Search and filters
Supported filters depend on the endpoint:
- Products:
storeIds,categoryIds,search - Promotions:
storeIds,categoryIds,productIds,active,triggers,from,to,search - Inventory:
storeIds,categoryIds,productIds,lowStock,search - Inventory logs:
storeIds,categoryIds,productIds,types,from,to,search - Sales:
storeIds,from,to,status,paymentMethods,search - Analytics:
storeIds,from,to - Product analytics additionally accepts
groupBy=product(default) orgroupBy=store.
Array filters can be comma-separated or repeated.