Skip to main content
Anchor to CustomerActivatePayload

CustomerActivatePayload

payload

Return type for customerActivate mutation.

•Customer

The customer object.

•CustomerAccessToken

A newly created customer access token object for the customer.

•[CustomerUserError!]!
non-null

The list of errors that occurred from executing the mutation.

•[UserError!]!
non-nullDeprecated

Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

Activates a customer account using an activation token received from the customerCreate mutation. The customer sets their password during activation and receives a CustomerAccessToken for authenticated access.

For a simpler approach that doesn't require parsing the activation URL, use customerActivateByUrl instead.


Caution

This mutation handles customer credentials. Always use HTTPS and never log or expose the password or access token.


Arguments

•ID!
required

Specifies the customer to activate.

•CustomerActivateInput!
required

The fields used to activate a customer.



Was this section helpful?