Create order via GraphQL without sending order confirmation email

ronald_g
Explorer
67 2 13

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?

Reply 1 (1)

SomeUsernameHe
Shopify Partner
468 53 89

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

Have I helped? Consider putting coffee in my mouth!
Buy Me a Coffee