Skip to main content

List Pre-Start-Date Orders

GET 

/api/shopify/:integrationInstance/pre-start-date-orders

Queries the Shopify Admin API live for orders created before the account's inventory start date and returns them with an eligibility assessment for historical import (eligible, already imported, or the reason they cannot be imported). Orders imported this way are flagged as pre-start-date imports and do not affect inventory.

Authorization

Any valid API token can call this endpoint — no specific scope required. Manage tokens.

Authentication: Requires Bearer token.

Note: this performs live Shopify API requests and can be slow for wide date ranges.

Query parameters:

  • created_at_min (date, required): start of the window; must be before the inventory start date.
  • created_at_max (date, optional): end of the window; defaults to the day before the inventory start date; must be before the inventory start date and not before created_at_min.
  • fulfillment_status (string, optional): unfulfilled, partial, fulfilled, or any.

Returns 422 if the inventory start date has not been set or the dates are out of range.

Request

Responses

OK

Response Headers
    Content-Type