get_orders
Fetch Shopify orders with optional filters, sorting, and pagination to retrieve targeted order data.
Instructions
Fetch orders from the Shopify store with optional filtering
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Cursor for pagination | |
| first | No | Number of orders to fetch (1-250, default: 50) | |
| query | No | Filter query (e.g., 'status:open', 'created_at:>2024-01-01') | |
| reverse | No | Reverse the sort order | |
| sortKey | No | Field to sort by |