sync_orders
Import missed Shopify orders into ApparelHub and refresh fulfillment status, excluding cancelled or already-fulfilled orders. Run for one store or all stores; get auth reconnect links and errors.
Instructions
Import orders that never reached ApparelHub and refresh order status from fulfillment providers. For each connected Shopify shop it imports recent orders a webhook should have delivered, scoped to orders placed after the shop was connected and excluding cancelled or already-fulfilled ones (an imported paid order is sent to the fulfillment provider like a live one). Pass store_uuid to sync one store; omit it for all stores. Read shopify[]: processed imported now, not_eligible_reasons why others were left alone, truncated means run again, outcome: "auth_revoked" carries a reconnect_url the merchant must open. Report errors[].
[#e208cf]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No | Workspace uuid to scope to (agency accounts). Omit for the Default workspace. | |
| store_uuid | No | Scope the sync to one store (omit for all stores). |