Authentication > Auth > 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.
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Data Argument Fields
One-time password code received via email
Example: "325238"
Valid when: code is not empty
The email address of the customer
Example: "bob.norman@hostmail.com"
Valid when: email is not empty
Result
Preview (typescript)
Loading module