List Products
GET /api/products
Section titled “GET /api/products”Returns a list of available products with their ID and English name. Useful for looking up product_id values when managing user kits.
Headers
Section titled “Headers”| Header | Required | Value |
|---|---|---|
api-key | yes | Import API key |
Response
Section titled “Response”HTTP 200 OK
[ { "id": 1, "product_name": "Rain Jacket" }, { "id": 2, "product_name": "Rain Pants" }]Response field reference
Section titled “Response field reference”| Field | Type | Description |
|---|---|---|
id | int | Internal product ID |
product_name | string | Product name (English translation) |
Only products where available = 1 and deleted_at is null are returned.
HTTP error codes
Section titled “HTTP error codes”| Status | Description |
|---|---|
401 | Missing api-key header |
403 | Invalid api-key value |