This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[FAQ] TI-API: How can I retrieve order history for a particular date range?

Part Number: TI-API

How can I retrieve order history for a particular date range?

  • You can specify a date range in an order history API request by using optional startDate and endDate query parameters (e.g. GET /v2/store/orders/?startDate=2022-01-01&endDate=2022-08-31). See the Order API details here.

    Requirements of the date parameters:

    • Dates must be in YYYY-MM-DD format.
    • If no date parameters are provided, the API will return orders for the previous 30 days.
    • If both dates are provided, they must fall within one calendar year or less.
    • If the dates provided are more than one year apart, the end date will be automatically adjusted to be one year after the start date.
    • If only the start date is provided, the API will default to an end date 30 days after the start date.
    • If only the end date is provided, the API will default to a start date 30 days prior to the end date.

**Attention** This is a public forum