Skip to main content

Timestamp parameter

Some read operations accept a timestamp query parameter to evaluate schedule-dependent businesses, categories, products, banners, offers, or cart suggestions at a requested moment instead of the current time.

Where the operation documents timestamp as an integer, send a Unix timestamp in seconds:

GET https://api.ordering.co/v400/en/YOUR_PROJECT/business/41?timestamp=1581444000

A Unix timestamp identifies one instant. The API applies the relevant business timezone when it evaluates local schedules.

Use timestamp only when the specific operation lists it, and follow the type shown for that operation. It is not a universal query parameter, and the legacy timesmtap spelling is invalid. Query parameters begin with ?; use & only to add another parameter after the first one.