order Invoice Send
Requires access scope. Also: The user must have access to orders and manage orders information.
Sends an email invoice for an Order.
You can customize the email recipient, sender, and subject line using the email argument.
Note: Use store or staff account email addresses for the <a href="https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderInvoiceSend#arguments-email.fields.from"><code>from</code></a> and <a href="https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderInvoiceSend#arguments-email.fields.bcc"><code>bcc</code></a> input fields.
Arguments
- email (EmailInput)
- id (ID!)
- Anchor to emailemail•Email
Input The email input fields for the order invoice. The
bccandfromfields should be store or staff account emails.- •ID!required
The order associated with the invoice.
- order (Order)
- userErrors ([OrderInvoiceSendUserError!]!)
- Anchor to orderorder•Order
The order associated with the invoice email.
- Anchor to userErrorsuser•[Order
Errors Invoice Send User Error!]! non-null The list of errors that occurred from executing the mutation.