Skip to content
This repository was archived by the owner on Apr 23, 2021. It is now read-only.

Latest commit

 

History

History
16 lines (9 loc) · 1.2 KB

SearchOrdersDateTimeFilter.md

File metadata and controls

16 lines (9 loc) · 1.2 KB

SearchOrdersDateTimeFilter

Description

Filter for Order objects based on whether their CREATED_AT, CLOSED_AT or UPDATED_AT timestamps fall within a specified time range. You can specify the time range and which timestamp to filter for. You can filter for only one time range at a time. For each time range, the start time and end time are inclusive. If the end time is absent, it defaults to the time of the first request for the cursor. Important: If you use the DateTimeFilter to filter for CLOSED_AT or UPDATED_AT, you must also set the OrdersSort. The TimeRange used in DateTimeFilter must correspond to the sort_field in the OrdersSort object.

Properties

Name Type Description Notes
createdAt TimeRange Time range for filtering on the `created_at` timestamp. [optional]
updatedAt TimeRange Time range for filtering on the `updated_at` timestamp. [optional]
closedAt TimeRange Time range for filtering on the `closed_at` timestamp. [optional]