Anchor to customerGenerateAccountActivationUrlcustomer
mutationcustomer Generate Account Activation Url
Requires access scope.
Generates a one-time activation URL for a Customer whose legacy customer account isn't yet enabled. Use this after importing customers or creating accounts that need activation.
The generated URL expires after 30 days and becomes invalid if you generate a new one.
Note
The generated URL only works when legacy customer accounts are enabled on the shop. It only works for customers with disabled or invited account states. Attempting to generate a URL for an already-enabled customer returns an error.
Anchor to Arguments
Arguments
- Anchor to customerIdcustomer•ID!
Id required The ID of the customer that the URL is generated for.
Was this section helpful?
Anchor to CustomerGenerateAccountActivationUrlPayload returnsCustomer Generate Account Activation Url Payload returns
- Anchor to accountActivationUrlaccount•URL
Activation Url The generated account activation URL.
- Anchor to userErrorsuser•[User
Errors Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?