Skip to main content
Anchor to CustomerGenerateAccountActivationUrlPayload

CustomerGenerateAccountActivationUrlPayload

payload

Return type for customerGenerateAccountActivationUrl mutation.

Anchor to accountActivationUrlaccountActivationUrl
•URL

The generated account activation URL.

•[UserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

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.



Was this section helpful?