send_draft_order_invoice
Send an invoice email for a draft order with a secure checkout link to enable payment.
Instructions
Send an invoice email for a draft order with a secure checkout link.
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": "send_draft_order_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_order_id | Yes | The numeric draft order ID. | |
| to | No | Email to send the invoice to (defaults to the draft order's email). | |
| from | No | Sender email (defaults to shop email). | |
| subject | No | Custom email subject line. | |
| custom_message | No | Custom message to include in the invoice email. |