Anchor to CustomerSendAccountInviteEmailUserErrorCustomer
objectCustomer Send Account Invite Email User Error
Requires access scope.
Defines errors for customerSendAccountInviteEmail mutation.
Anchor to FieldsFields
- Anchor to codecode•Customer
Send Account Invite Email User Error Code The error code.
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Was this section helpful?
Anchor to MutationsMutations
- •mutation
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.
NoteThe invite only works when legacy customer accounts are enabled on the shop.
- 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.
Arguments
Was this section helpful?