get_draft_orders
Retrieve draft orders from your Shopify store with pagination, filtering, and reverse sorting options to manage pending orders efficiently.
Instructions
Fetch draft orders from the store
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_draft_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Cursor for pagination | |
| first | No | Number of draft orders to fetch (1-250, default: 50) | |
| query | No | Filter query | |
| reverse | No | Reverse the sort order |