get_draft_order
Fetch a draft order's full details: status, customer, line items (quantity, title, price), invoice URL, and resulting order if completed. Inspect before update or completion.
Instructions
Fetch a single draft order with full details: status, customer, line items (with quantity, title, and unit price), invoice URL, and the resulting real order if it's already been completed. Use to inspect a draft before calling update_draft_order or complete_draft_order. Returns a friendly text summary.
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": {
"id": "<id>"
},
"name": "get_draft_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Draft order GID, e.g. 'gid://shopify/DraftOrder/12345'. Get one from list_draft_orders. |