complete_draft_order
Convert a draft order into a real order, with an option to mark it as paid.
Instructions
Complete a draft order, converting it into a real order. Optionally mark it as paid.
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": "complete_draft_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_order_id | Yes | The numeric draft order ID. | |
| payment_pending | No | If true, the order is created with payment pending. Default: false (marked as paid). |