Api.orderinvoicesend always sends the email to the default order email address

Topic summary

A developer is experiencing an issue with Shopify’s OrderInvoiceSend GraphQL mutation. Despite attempting to specify a different recipient email address through various fields in the mutation, the invoice consistently sends to the default email stored in order.email.

Reproduction steps:

  • Create an order with a customer email
  • Execute orderInvoicesend mutation with an alternative email address
  • Invoice is sent to the original order email instead of the specified address

The API returns a 200 OK status, suggesting the request is accepted, but the expected behavior (sending to the alternate email) doesn’t occur. The user is questioning whether this is a bug in the mutation itself.

Status: Unresolved - awaiting community input or official clarification on whether this is intended behavior or a defect.

Summarized with AI on October 25. AI used: claude-sonnet-4-5-20250929.

Hello! I am trying to use OrderInvoiceSend mutation orderInvoiceSend - GraphQL Admin to send the invoice of an order to a different email that the one that is assigned in the order.

I’ve tried filling in different fields but it always sends the invoice to the address that is in the order.email

Steps to reproduce:

  • Create an order for a customer with one email
  • Call orderInvoiceSend mutation with a different email

The emails always goes to the first email. And the mutation api call returns 200 OK.

Is this an error with the mutation?

2 Likes