What it does
A site's shop orders, newest first: number (#1001...), status (open, processing, paid, expired, failed), refund (none, partial, full), items, subtotal, shipping, tax, total, refunded and fee in the shop's currency (normal units, such as 19.9), customer (email, name), shipping_address, shipped (when, tracking) and stripe_url (the payment in the owner's Stripe Dashboard). By default processing, paid and failed; status takes one, a list or all. shipped false lists paid orders not sent yet. product: a product or variant row id. since and until: dates. search: an order number, part of the buyer's email or name, or a discount code. Page with before set to next_before. Needs can_shop.
Plans
Needs a paid plan: Pro or Ultra. On other plans your agent gets an error that says so. See Limits for what each plan includes.
Parameters
| Name | Type | About |
|---|---|---|
site_idrequired | string | The id of the site. list_sites gives the ids of your sites. |
status | one of: open, processing, paid, expired, failed, all or array of one of: open, processing, paid, expired, failed | Which orders: open, processing, paid, expired or failed, a list of them, or all. Default: processing, paid and failed. |
shipped | boolean | true: orders marked sent. false: paid orders not marked sent yet. |
product | string | Only orders with this product or variant (a row id from the shop's tables). |
since | string | Orders created at or after this date or time, such as 2026-11-01. |
until | string | Orders created before this date or time. |
search | string | An order number (1001 or #1001), part of the buyer's email or name, or a discount code. |
limit | integer | Orders per page, 1 to 100. Default 25. |
before | string | next_before from the previous page. |
cursor | string | next_cursor from the previous page of this tool, to read the next page. Send the other arguments as on the first call; leave out the paging arguments the cursor replaces. |
Example
Call list_shop_orders with these arguments:
{
"site_id": "01a1…",
"shipped": false,
"limit": 25
}
Ids like 01a1… stand for your own. list_sites and list_tables give you the real ones.
Related guides
- Orders, refunds and salesSee every order, mark it sent, refund, and follow your sales.