Customer Generate Account Activation Url Payload
Return type for mutation.
Anchor to FieldsFields
- accountActivationUrl (URL)
- userErrors ([UserError!]!)
- 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.
Anchor to Mutations with this payloadMutations with this payload
- customerGenerateAccountActivationUrl (CustomerGenerateAccountActivationUrlPayload)
- •mutation
Generates a one-time activation URL for a
Customerwhose 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.
NoteThe 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.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.Note: The generated URL only works when legacy customer accounts are enabled on the shop. It only works for customers with disabled or invited <a href="https://shopify.dev/docs/api/admin-graphql/latest/objects/Customer#field-Customer.fields.state"><code>account states</code></a>. Attempting to generate a URL for an already-enabled customer returns an error.
- Anchor to customerIdcustomer•ID!
Id required The ID of the customer that the URL is generated for.
Arguments