complete_draft_order
Converts a draft order into a regular order using its ID, with an option to mark payment as pending. Use it to finalize draft orders in Shopify.
Instructions
Complete a draft order and convert it to a regular order
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": "complete_draft_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Draft order ID | |
| paymentPending | No | Mark payment as pending (default: false) |