Skip to main content
Anchor to CustomerSendAccountInviteEmailUserError

CustomerSendAccountInviteEmailUserError

object

Requires read_customers access scope.

Defines errors for customerSendAccountInviteEmail mutation.

•CustomerSendAccountInviteEmailUserErrorCode

The error code.

•[String!]

The path to the input field that caused the error.

•String!
non-null

The error message.


Was this section helpful?

•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.


Note

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


Arguments

•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?


Was this section helpful?