SendInvoice
Emails a draft order invoice to a customer, allowing them to complete payment via checkout.
Input
| Name | Type | Description |
| Id | String | The unique ID of the draft order for which the invoice will be sent. |
| To | String | The recipient's email address where the invoice will be delivered. |
| From | String | The sender's email address appearing in the 'From' field of the invoice email. |
| BCC | String | A comma-separated list of email addresses to receive a blind carbon copy of the invoice email. |
| Subject | String | The subject line of the invoice email. |
| CustomMessage | String | An optional custom message to include in the body of the invoice email. |
Result Set Columns
| Name | Type | Description |
| Success | Boolean | Indicates whether the invoice email was sent successfully. |
| Details | String | Additional details or diagnostic information about the execution of the operation. |