Authentication > Auth > authPasswordComplete
Commerce APIAuthenticationAuthauthPasswordComplete
authPasswordComplete
POST:auth/password/complete.json

Description

Complete password reset procedure by setting a new password.

See also: Authentication.

Topic: Auth

Arguments

data: UserPasswordResetComplete!

Main argument for mutations.


Data Argument Fields

code: String!

Six-digit code you got via email

Example: "543637"

Valid when: code is not empty

Valid when: code's length doesn't exceed 250 characters


email: String!

Email of the user

Example: "no+spam@mail.com"

Valid when: email is not empty

Valid when: email's length doesn't exceed 250 characters


password: String!

The user's password

Example: "34hb5kj3h45k3"

Valid when: password is not empty

Valid when: password's length doesn't exceed 250 characters


Result

Boolean

Preview (typescript)

Loading module