Skip to main content
Anchor to CustomerActivateByUrlPayload

CustomerActivateByUrlPayload

payload

Return type for customerActivateByUrl mutation.

•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?

Anchor to Mutations with this payloadMutations with this payload

•mutation

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.


Arguments

•URL!
required

The customer activation URL.

•String!
required

A new password set during activation.



Was this section helpful?