List addon groups
get
https://api.flactrum.com/v1/addon-groups
A group can be attached to a product directly or to the product's category; both links are returned so you can resolve them yourself.
| Required scope | addons.read |
| Panel screen | Menu & products → Addon groups |
| Success status | 200 |
| Returns | A paginated list of AddonGroup objects |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| product_id | query | string | — |
| category_id | query | string | — |
| page | query | integer | Page number. |
| per_page | query | integer | Page size. Values above the maximum are rejected rather than silently clamped. |
| 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 | — |
| slug | string|null | — |
| selection_type | string|null | Single or multiple choice. |
| is_required | boolean | — |
| sort_order | integer | — |
| addons | array | — |
| product_ids | array | Products this group is attached to directly. |
| category_ids | array | Categories whose products all get this group. |
Examples
Recorded from the test suite — these are real requests and their real responses.
curl -X GET 'https://api.flactrum.com/v1/addon-groups' \
-H 'Authorization: Bearer flk_your_key:your_secret' \
-H 'Accept: application/json'
HTTP 200 · application/json
{
"data": [
{
"id": "01m43mxqfrzhbzycwyng4grxqe",
"name": "Süt tercihi",
"slug": "sut-tercihi",
"selection_type": "single",
"is_required": false,
"sort_order": 1,
"addons": [
{
"id": "01m43mxqfv7481mjsdf6typmxs",
"group_id": "01m43mxqfrzhbzycwyng4grxqe",
"name": "Yulaf sütü",
"price": 15,
"stock_item_id": null,
"quantity_per_use": null,
"waste_percent": 0,
"gross_quantity_per_use": null,
"is_active": true,
"sort_order": 0,
"translations": []
}
],
"product_ids": [],
"category_ids": [],
"translations": [],
"created_at": "2026-10-04T14:26:11+00:00",
"updated_at": "2026-10-04T14:26:11+00:00"
}
],
"meta": {
"total": 1,
"page": 1,
"per_page": 25,
"last_page": 1
}
}