Need to add a "CC" field to the draft order invoices via the draftOrderInvoiceSend GraphQL API.

Topic summary

A developer is building an application that creates Shopify draft orders and sends invoices using the draftOrderInvoiceSend GraphQL API. They’ve discovered a limitation: while Shopify’s admin UI includes a CC (carbon copy) field for draft order invoices, this field is not available in the API.

Current Limitation:

  • The draftOrderInvoiceSend API lacks CC recipient functionality
  • No native API method exists to add CC recipients to draft order invoices

Suggested Workaround:

  • Send the invoice to the primary customer via the API
  • Separately send custom emails to CC recipients using custom application logic
  • This ensures all parties receive the invoice, though it requires additional implementation

Recommendation:
Submit feedback to Shopify requesting this feature be added to the API, as it represents a valid use case with existing UI precedent.

Status: Unresolved - awaiting potential API enhancement from Shopify.

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

I am creating Shopify draft orders through my application, and after a draft order is created, I want to send an invoice to the customer. To implement this, I have used the **draftOrderInvoiceSend** GraphQL API, which is similar to Shopify’s draft order invoice functionality. However, I noticed that there is a field for CC (carbon copy) recipients in Shopify’s draft order invoice feature, but this field is not available in the **draftOrderInvoiceSend** API. As a result, I am unable to include CC recipients when sending the invoice. What should I do if I want to add the CC field for the invoice in my app?

The “draftOrderInvoiceSend” GraphQL API currently does not take a CC field even though Shopify has it working through their admin UI. There is no current set of API way of adding CC recipients at this time unfortunately. One of the workarounds is to send invoice to customer by API and the CC customers from your app with a custom email (with your logic) separately. It is not ideal but it does make sure that everyone gets the invoice. I would also suggest that you forward this feedback at Shopify, as this is a great example of use case.

1 Like