All things Shopify and commerce
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.
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025