Logs in a customer through a third party provider. Facebook is currently supported.
HTTP POST/api/v10/storefront.login-with
{
"provider" : "Facebook", // provider, can only be "Facebook" (required) - string
"credentials" : { // credentials (required) - string -> string
"id" : 7947163,
"token" : "3c54cc9cdf94a86e7b43d699f1a9ead4"
}
}
HTTP headersX-Customer-Key: 78FzLADvJ3naIe8d/CJQMA
{
"status" : "ok"
}
Field | Type | Description |
---|---|---|
credentials | InvalidValue | credentials is not valid |
credentials | NotFound | There is no customer for these credentials |