Skip to main content

Set Shopify Order-History Start

PUT 

/api/shopify/:integrationInstance/setup/order-history

Record the one-time order-import horizon for this connection.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Writes the root-level start_date setting — the key the order backfill reads first — so the choice actually governs the next import instead of being shadowed by a legacy nested value. Without an explicit horizon the backfill falls back to a bounded default the merchant never chose and cannot see.

Body:

  • start_date (required, date, today or earlier) — import orders placed on or after this date.

Returns the recalculated setup state.

Request

Responses

OK

Response Headers
    Content-Type