/v1/loginEmail a customer a sign-in link
The link works once and lasts 15 minutes. The answer is the same whether or not the email belongs to a customer. Opening the link confirms the customer's email.
Request body · object
emailstring (email), requiredquote_idinteger (int64)A quote the link opens once signed in (`"e=<id>` on the link).
recaptcha_tokenstringA reCAPTCHA token, when the tenant checks reCAPTCHA (GET /v1/config says whether).
{
"email": "email",
"quote_id": 0,
"recaptcha_token": "string"
}Response 200 · Message
Done.
messagestring, required
{
"message": "string"
}Response 400 · Error
The request is not valid.
errorobject, requiredcodestring, requiredA short machine-readable name, such as not_found.
messagestring, requiredWhat went wrong, for people.
request_idstring, requiredMatches the X-Request-ID response header.
{
"error": {
"code": "string",
"message": "string"
},
"request_id": "string"
}Response 401 · Error
No tenant key, or no valid session.
Fields as in Email a customer a sign-in link
Response 404 · Error
Not found, or not yours.
Fields as in Email a customer a sign-in link
Response 409 · Error
It clashes with what is stored.
Fields as in Email a customer a sign-in link
Response 429 · Error
Too many attempts; see Retry-After.
Fields as in Email a customer a sign-in link
Response 500 · Error
Something failed on our side.
Fields as in Email a customer a sign-in link