Logs in a customer with email and password and returns a customer key.
HTTP POST/api/v12/storefront.login
{
"email" : "holmes@inv-london.com", // email address (required) - string(3…120)
"password" : "I9bV2crS" // password (required) - string(4…16)
}
HTTP headersX-Customer-Key: 78FzLADvJ3naIe8d/CJQMA
{
"status" : "ok"
}
Field | Type | Description |
---|---|---|
InvalidCombination | email or password is incorrect | |
InvalidValue | '<email>' is not a well formed email address |