Skip to content

Customer login (enumeration-/timing-safe, rate-limited)

POST
/store/v1/customers/login
curl --request POST \
--url https://your-store.example.com/store/v1/customers/login \
--header 'Content-Type: application/json' \
--data '{ "email": "hello@example.com", "password": "example" }'
Media type application/json
object
email
required
string format: email
<= 320 characters /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/
password
required
string
>= 1 characters <= 1024 characters
Example generated
{
"email": "hello@example.com",
"password": "example"
}