Description
All customer login operations go through this endpoint.
Topic: Auth
Arguments
data: CustomerLogin!
Main argument for mutations.
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Data Argument Fields
The email address of the customer
Example: "bob.norman@hostmail.com"
Valid when: email is not empty
Preferred language of the customer
OAuth2 authorization code provided by the provider
oauth_provider: CustomerOAuthProviderKind
OAuth provider kind for customer login
OAuth1 token provided by the provider
OAuth1 verifier provided by the provider
The customer's password
Example: "34hb5kj3h45k3"
Currency customer prefers
Example: "USD"
Name of the time zone the customer is in
Example: "(GMT-05:00) Eastern Time"
Valid when: timezone's length doesn't exceed 50 characters
Timezone hint. When provided it overrides timezone field, but only if it's correct. If it's incorrect, the value is ignored.
Example: "(GMT-05:00) Eastern Time"
Valid when: timezone_hint's length doesn't exceed 50 characters
Result
Preview (typescript)
Loading module