list_my_orders
List recent merchant orders across channels, filter by fulfillment source (merchant or ApparelHub), and surface orders requiring attention with actionable messages.
Instructions
List the merchant's recent orders across channels. An order with fulfilled_by: 'merchant' is for the merchant's own products (brought in from their sales channel, not made in ApparelHub): their store fulfils it, ApparelHub only records it, and approve / submit / confirm / cancel / hold / record-payment refuse it with fulfilled_by_merchant; tell the user to act on it in their store. Pass fulfilled_by to list only those ('merchant') or only ApparelHub-fulfilled orders ('apparelhub'). An order carrying needs_attention is one the merchant must act on (the fulfillment provider failed or cancelled it, the buyer cancelled after production started, it was paid but never sent to production, the sales channel's ship-by deadline is close or missed, or the channel refused the tracking): always tell the user about those, with the message. ship_by_at is the channel's ship-by deadline (UTC) when it has one. Read-only.
[#fc1938]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| since | No | ISO date lower bound where supported. | |
| status | No | ||
| workspace | No | ||
| store_uuid | No | ||
| fulfilled_by | No | 'merchant' = orders for the merchant's own products, fulfilled by their store; 'apparelhub' = orders ApparelHub fulfils. Omit for both. |