Skip to main content
Anchor to customerActivateByUrl

customerActivateByUrl

mutation

Requires unauthenticated_write_customers access scope.

Activates a customer account using the full activation URL from the customerCreate mutation. This approach simplifies activation by accepting the complete URL directly, eliminating the need to parse it for the customer ID and activation token. Returns a CustomerAccessToken for authenticating subsequent requests.


Caution

Store the returned access token securely. It grants access to the customer's account data.


•URL!
required

The customer activation URL.

•String!
required

A new password set during activation.


Was this section helpful?

Anchor to CustomerActivateByUrlPayload returnsCustomerActivateByUrlPayload returns

•Customer

The customer that was activated.

•CustomerAccessToken

A new customer access token for the customer.

•[CustomerUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?