A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Is it possible to specify the flag to don't send order confirmation email to customer when creating the order by draftOrderCreate mutation https://shopify.dev/api/admin-graphql/2022-10/mutations/draftordercreate?
Hey @milan-stojanov, by default, the draftOrderCreate mutation shouldn't send a confirmation email out. If you did want to send an invoice/confirmation email out, you'd have to use the draftOrderInvoiceSend mutation after the draft order has been created.
Hope this helps - let us know if we can clarify anything on our end.
Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
When completing the draft order, is there a way to not send an order confirmation email?
Hey @ko-lem ,
The draftOrderComplete mutation doesn't have a notify argument, so the order notifications will be determined by the store's notification settings.
Hope that help,
- Kyle G.
Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog