Skip to content

Log a shopper in

POST
/api/v1/customer/auth/login/

Exchange email + password for a token pair. Send the returned access_token as Authorization: Bearer … on shopper actions.

Authorizations

apiKey

Your business API key (sb_live_*) — identifies which store the request is for. Required on every /api/v1/business/website/ request.

Type
API Key (header: X-Periscale-Key)

Request Body

application/json
JSON
{
  
"email": "string",
  
"password": "string"
}

Responses

Logged in; tokens issued.

application/json
JSON
"string"

Playground

Server
Authorization
Body

Samples

Powered by VitePress OpenAPI

© Periscale