API documentation

Lumeira REST API · v1

A predictable, JSON-only REST API. Authenticate with a bearer token, paginate with limit/page, and rely on rich error objects for failures.

Base URL

api.lumeira.app/v1

Auth

Bearer lm_live_•••

Rate limit

600 req/min

Quick start

A typical product list request.

curl https://api.lumeira.app/v1/products?color=Chestnut&limit=10 \
  -H "Authorization: Bearer lm_live_••••" \
  -H "Accept: application/json"

Returns

{
  "data": [
    {
      "id": "p1",
      "name": "Mira — Chestnut Waves",
      "price": 489,
      "currency": "CAD",
      "stock": 24,
      "rating": 4.8,
      "supplier": { "id": "u-supp", "name": "Maison Hair Co." }
    }
  ],
  "meta": { "page": 1, "limit": 10, "total": 1 }
}

Auth

POST
/v1/auth/session
DELETE
/v1/auth/session
GET
/v1/auth/me

Products

GET
/v1/products
GET
/v1/products/{id}
POST
/v1/products
PATCH
/v1/products/{id}
DELETE
/v1/products/{id}

Cart & Orders

GET
/v1/cart
POST
/v1/cart/items
POST
/v1/orders
GET
/v1/orders/{id}
PATCH
/v1/orders/{id}/status

AI Try-On

POST
/v1/ai/try-on
GET
/v1/ai/try-on/{jobId}

Consultations

GET
/v1/consultations
POST
/v1/consultations
PATCH
/v1/consultations/{id}

Admin

GET
/v1/admin/metrics
GET
/v1/admin/suppliers

Errors

400
validation_error

Request body failed schema validation.

401
unauthorized

Missing or invalid bearer token.

403
forbidden

Authenticated but not allowed to perform this action.

404
not_found

Resource does not exist.

429
rate_limited

Exceeded 600 requests per minute.

500
internal_error

Something broke on our end — try again.