List products
get
https://api.flactrum.com/v1/products
Pass ?branch= to see the menu through one branch's eyes: the branch price override and the running campaign are applied.
| Required scope | products.read |
| Panel screen | Menu & products → Menu & products |
| Success status | 200 |
| Returns | A paginated list of Product objects |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| category_id | query | string | — |
| search | query | string | Matches name or SKU. |
| branch | query | string | Branch id. Fills branch_price, campaign_price and campaign. |
| page | query | integer | Page number. |
| per_page | query | integer | Page size. Values above the maximum are rejected rather than silently clamped. |
| active | query | boolean | Filter by active flag. Omit to get both. |
| updated_since | query | string | Only records changed at or after this instant. Use it for incremental sync. |
| lang | query | string | Language for translatable fields. Must be configured for the brand. |
| sort | query | string | Column to sort by. Each endpoint lists what it accepts. |
| direction | query | string | Sort direction. |
Response fields
| Field | Type | Description |
|---|---|---|
| id | string | — |
| name | string | Follows ?lang. |
| description | string|null | — |
| slug | string|null | — |
| sku | string|null | — |
| category_id | string|null | — |
| category | object | — |
| price | number | Brand list price, tax inclusive. |
| tax_rate | number|null | — |
| image_url | string|null | Null for a kiosk or POS device when the image is switched off for that channel. |
| image_channels | array|null | Where the image may be shown. Null means everywhere. |
| allergens | array | The 14 regulated food allergens. |
| is_active | boolean | — |
| sort_order | integer | — |
| loyalty | object|null | How many points this product earns. |
| translations | object | — |
| branch_ids | array | Branches the product is sold in. Empty means every branch. |
| addon_group_ids | array | — |
| branch_price | number | Only when ?branch is given. List price with the branch override applied. |
| campaign_price | number | Only when ?branch is given. The price actually charged after campaigns. |
| campaign | object|null | The single campaign applied. Campaigns never stack. |
| created_at | string | — |
| updated_at | string | — |
Examples
Recorded from the test suite — these are real requests and their real responses.
curl -X GET 'https://api.flactrum.com/v1/products' \
-H 'Authorization: Bearer flk_your_key:your_secret' \
-H 'Accept: application/json'
HTTP 200 · application/json
{
"data": [
{
"id": "01m43mxp4defpgd5gt6dv7y3sd",
"name": "Latte",
"description": null,
"slug": "latte",
"sku": "LAT-16",
"category_id": "01m43mxp4c9nxr091c4s8tm9vx",
"category": {
"id": "01m43mxp4c9nxr091c4s8tm9vx",
"name": "Sıcak kahve",
"slug": "sicak-kahve",
"parent_id": null,
"sort_order": 1,
"is_active": true,
"translations": [],
"created_at": "2026-10-04T14:26:10+00:00",
"updated_at": "2026-10-04T14:26:10+00:00"
},
"price": 95,
"tax_rate": 10,
"image_url": null,
"image_channels": null,
"allergens": [],
"is_active": true,
"sort_order": 1,
"loyalty": null,
"translations": [],
"branch_ids": [],
"addon_group_ids": [],
"created_at": "2026-10-04T14:26:10+00:00",
"updated_at": "2026-10-04T14:26:10+00:00"
}
],
"meta": {
"total": 1,
"page": 1,
"per_page": 25,
"last_page": 1
}
}
curl -X GET 'https://api.flactrum.com/v1/products?branch=01m43mxpr137as40qkv0npdyzv' \
-H 'Authorization: Bearer flk_your_key:your_secret' \
-H 'Accept: application/json'
HTTP 200 · application/json
{
"data": [
{
"id": "01m43mxprbx74t7bfsvpnjenn4",
"name": "Latte",
"description": null,
"slug": "latte",
"sku": "LAT-16",
"category_id": "01m43mxpr94s6dtfr4hanvv1ft",
"category": {
"id": "01m43mxpr94s6dtfr4hanvv1ft",
"name": "Sıcak kahve",
"slug": "sicak-kahve",
"parent_id": null,
"sort_order": 1,
"is_active": true,
"translations": [],
"created_at": "2026-10-04T14:26:10+00:00",
"updated_at": "2026-10-04T14:26:10+00:00"
},
"price": 95,
"tax_rate": 10,
"image_url": null,
"image_channels": null,
"allergens": [],
"is_active": true,
"sort_order": 1,
"loyalty": null,
"translations": [],
"branch_ids": [
"01m43mxpr137as40qkv0npdyzv"
],
"addon_group_ids": [],
"branch_price": 100,
"campaign_price": 80,
"campaign": {
"id": "01m43mxprgbk3evs6t9ajnejrm",
"name": "Sabah indirimi",
"discount": 20,
"label": "%20 indirim"
},
"created_at": "2026-10-04T14:26:10+00:00",
"updated_at": "2026-10-04T14:26:10+00:00"
}
],
"meta": {
"total": 1,
"page": 1,
"per_page": 25,
"last_page": 1
}
}
curl -X GET 'https://api.flactrum.com/v1/products?lang=de' \
-H 'Authorization: Bearer flk_your_key:your_secret' \
-H 'Accept: application/json'
HTTP 400 · application/json
{
"error": {
"code": "bad_request",
"message": "The language \"de\" is not configured for this brand.",
"details": {
"available_languages": []
}
}
}