How to send an account invite to a customer via GraphQL API?

jjarey
New Member
1 0 0

Hi,

 

Is it possible to send an account invite to a customer using GraphQL API?

I couldn't find any documentation or examples for this.

 

https://help.shopify.com/en/api/graphql-admin-api/examples/customer

0 Likes
Visely-Team
Shopify Partner
1837 210 420

There is no alternatives to the REST API endpoint available for GraphQL. And besides, GraphQL is more about queries/mutations, rather than actions like sending emails.

Sergiu Svinarciuc | CTO @ visely.io
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
- To learn more about the awesome stuff we do head over to visely.io or our blog
NiranjanSharma
New Member
1 0 0

If you use storefront graphql API's, as soon as you create an account using the mutation "customerCreate" an account activation email is send. - https://shopify.dev/docs/storefront-api/reference/mutation/customercreate?api[version]=2020-04

The downside is you don't get to add tags or  metafields using this mutation. 

0 Likes