Authentication > Auth > storefrontAuthEmailLoginComplete
Storefront APIAuthenticationAuthstorefrontAuthEmailLoginComplete
storefrontAuthEmailLoginComplete
POST:storefront/auth/email_login_complete.json

Description

Once the code is received and entered, this endpoint can be used to complete the login process.

Topic: Auth

Arguments

data: CustomerEmailLogin!

Main argument for mutations.


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Data Argument Fields

code: String!

One-time password code received via email

Example: "325238"

Valid when: code is not empty


email: String!

The email address of the customer

Example: "bob.norman@hostmail.com"

Valid when: email is not empty


Result

TokenAndCustomerID

Preview (typescript)

Loading module