Customer Reset Payload
Return type for mutation.
Anchor to FieldsFields
- customer (Customer)
- customerAccessToken (CustomerAccessToken)
- customerUserErrors ([CustomerUserError!]!)
- userErrors ([UserError!]!): deprecated
- Anchor to customercustomer•CustomerToken access required
The customer object which was reset.
- Anchor to customerAccessTokencustomer•Customer
Access Token Access Token Token access required A newly created customer access token object for the customer.
- Anchor to customerUserErrorscustomer•[Customer
User Errors User Error!]! non-null The list of errors that occurred from executing the mutation.
- Anchor to userErrorsuser•[User
Errors Error!]! non-nullDeprecated
Anchor to Mutations with this payloadMutations with this payload
- customerReset (CustomerResetPayload)
- •mutation
Resets a customer's password using the reset token from a password recovery email. On success, returns the updated
Customerand a newfor immediate authentication.Use the
mutation to send the password recovery email that provides the reset token. Alternatively, useif you have the full reset URL instead of the customer ID and token.CautionThis mutation handles sensitive customer credentials. Validate password requirements on the client before submission.
Caution:This mutation handles sensitive customer credentials. Validate password requirements on the client before submission.
Caution: This mutation handles sensitive customer credentials. Validate password requirements on the client before submission.
- •ID!required
Specifies the customer to reset.
- Anchor to inputinput•Customer
Reset Input! required The fields used to reset a customer’s password.
Arguments
- •ID!