Authentication > Auth > storefrontAuthPasswordComplete
Storefront APIAuthenticationAuthstorefrontAuthPasswordComplete
storefrontAuthPasswordComplete
POST:storefront/auth/password/complete.json

Description

Complete password reset procedure by setting a new password.

Topic: Auth

Arguments

data: CustomerPasswordResetComplete!

Main argument for mutations.


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


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!

The email address of the customer

Example: "bob.norman@hostmail.com"

Valid when: email is not empty

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


password: String!

The customer'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