send_draft_order_invoice
Send an invoice email for a draft order to the customer, changing the draft status to 'invoice_sent'. Provide the customer's email if it is not already on the order.
Instructions
Send an invoice email for a draft order. Side effect: sends email to customer; draft status becomes "invoice_sent". Requires customer email on the draft or provide via to param.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Override recipient email address. | |
| from | No | Override sender email address. | |
| subject | No | Override email subject. | |
| custom_message | No | Custom message body included in the email. | |
| draft_order_id | Yes | Draft order ID to invoice. Required. |