Authentication

Authenticate customer and issue API token

Exchange user credentials for an API token that can be used for subsequent authenticated requests.

post/customer/login

Request body

emailstring required

The user's email address

passwordstring required

The user's password

device_namestring required

A descriptive name for the device

Example request

{
  "email": "user@example.com",
  "password": "password123",
  "device_name": "iPhone 15"
}

Response

LoginResponseResource

Changes