get_draft_order
Obtain a draft order by ID, including line items, customer, address, and applied discounts. Access complete draft order details for review or processing.
Instructions
Get a single draft order by ID. Returns full draft order including line_items, customer, address, and applied discounts.
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": {
"draft_order_id": "<draft_order_id>"
},
"name": "get_draft_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_order_id | Yes | Draft order ID (numeric). Required. |