customer Send Account Invite Email
Requires 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.
The invite only works when legacy customer accounts are enabled on the shop.
Arguments
- Anchor to customerIdcustomer•ID!
Id required The ID of the customer to whom an account invite email is to be sent.
- Anchor to emailemail•Email
Input Specifies the account invite email fields.
Anchor to CustomerSendAccountInviteEmailPayload returnsCustomer Send Account Invite Email Payload returns
- Anchor to customercustomer•Customer
The customer to whom an account invite email was sent.
- Anchor to userErrorsuser•[Customer
Errors Send Account Invite Email User Error!]! non-null The list of errors that occurred from executing the mutation.