Skip to main content
Anchor to CustomerResetByUrlPayload

CustomerResetByUrlPayload

payload

Return type for customerResetByUrl mutation.

•Customer

The customer object which was reset.

•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

Resets a customer's password using the reset URL from a password recovery email. The reset URL is generated by the customerRecover mutation.

On success, returns the updated Customer and a new CustomerAccessToken for immediate authentication.


Caution

This mutation handles customer credentials. Ensure the new password is transmitted securely and never logged or exposed in client-side code.


Arguments

•URL!
required

The customer's reset password url.

•String!
required

New password that will be set as part of the reset password process.



Was this section helpful?