Skip to main content
Anchor to customerSendAccountInviteEmail

customerSendAccountInviteEmail

mutation

Requires write_customers access scope. Also: The user must have permission to create and edit customers.

Sends an email invitation for a customer to create a legacy customer account. The invitation lets customers set up their password and activate their account in the online store.

You can optionally customize the email content including the subject, sender, recipients, and message body. If you don't provide email customization, the store uses its default account invitation template.


Note

The invite only works when legacy customer accounts are enabled on the shop.


ID!
required

The ID of the customer to whom an account invite email is to be sent.

EmailInput

Specifies the account invite email fields.


Was this section helpful?

Anchor to CustomerSendAccountInviteEmailPayload returnsCustomerSendAccountInviteEmailPayload returns

Customer

The customer to whom an account invite email was sent.

[CustomerSendAccountInviteEmailUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?