Export orders as CSV
export_ordersOrders as CSV, newest first, one line per item (reference as list_orders (area store) gives it, payment_id, amounts, buyer, the item’s choices and personalization (the buyer’s words), ship-to address, fulfilment, tracking, delivery choice, source (via buy link or AI assistant), buyer_details (when removed), mode (test|live)): {count, total, csv, next?}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"siteId": "<siteId>"
},
"name": "export_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Part of the order's reference or the buyer's name or email | |
| limit | No | How many orders (default 200) | |
| since | No | Only orders from this date or time on (ISO) | |
| cursor | No | next from the previous answer | |
| siteId | Yes | Site id (from list_sites) | |
| status | No | Only orders with this payment status, or shipped, to_ship, to_collect, collected |