Create order via GraphQL without sending order confirmation email

Topic summary

Creating an order via Shopify Admin GraphQL draft orders while suppressing the order confirmation email.

  • Setup: Using draftOrderCreate and draftOrderComplete, including either an email field or purchasingEntity (customerId) triggers an automatic order confirmation email when the draft is completed.
  • REST vs GraphQL: The REST API’s Create Order endpoint has a send_receipt flag to control email sending; GraphQL has no equivalent (and no orderCreate mutation).
  • Current limitation: A responder confirms that, based on experience, it is not possible to prevent the confirmation email via GraphQL when an email/customer is associated with the draft order.

Status and outcome:

  • No workaround or alternative was identified within GraphQL.
  • The discussion recognizes the limitation but provides no concrete resolution; key question remains open unless using REST’s send_receipt (not discussed as a solution within GraphQL).
Summarized with AI on January 5. AI used: gpt-5.

Hi,

Is there a way to create an order via draft order (i.e. draftOrderCreate and draftOrderComplete ) that includes an email address, but doesn’t send an order confirmation email? There seems to be a send_receipt flag in REST Create an order but there doesn’t seem to have a counterpart in GraphQL (Of course there’s no orderCreate GraphQL). If we include email: xxx or purchasingEntity: {customerId: xxx} in draftOrderCreate, when draftOrderComplete is run to create an order, Shopify automatically sends an order confirmation. We haven’t found a way around that.

Any ideas?

2 Likes

No, unfortunately from my experience, that is not possible with GraphQL.