Skip to main content
Anchor to CustomerResetByUrlPayload

CustomerResetByUrlPayload

payload

Return type for customerResetByUrl mutation.

•Customer

The customer object which was reset.

Show fields
•CustomerAccessToken

A newly created customer access token object for the customer.

Show fields
•[CustomerUserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields
•[UserError!]!
non-nullDeprecated
Show fields

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.


Show payload

Arguments

•String!
required

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

•URL!
required

The customer's reset password url.



Was this section helpful?