ProductAddon group
Detail Addon Group
Get a single add-on group with its options.
Authorization
API-TOKEN API-TOKEN<token>
Your partner API key. Send it in the API-TOKEN header on every request.
In: header
Path Parameters
groupId*string
Query Parameters
includes*array<>
Header Parameters
X-API-Version*string
API contract version to target. See the Changelog for what changed in each version.
Default
"2.0.0"Value in
"2.3.0" | "2.2.0" | "2.1.0" | "2.0.0"Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.flavours.sa/dev/api/v2/products/addon-groups/qui?includes=sed" \ -H "X-API-Version: 2.3.0"{
"meta": {
"code": 200,
"status": "success",
"message": "Add-on group details retrieved successfully."
},
"data": {
"id": "3ce01b7c-aacc-4724-92ad-c47da132f8dc",
"market_id": "eef0da10-dd19-4a4c-ab3d-23dd1b548801",
"name_en": "Libero autem",
"name_ar": "الصلصات",
"min_additionals": 0,
"max_additionals": 3,
"order": 1,
"created_at": 1792593344271,
"updated_at": 1792593344271,
"deleted_at": null,
"products_count": 0,
"options": [
{
"id": 738792834145027,
"modifierable_id": "3ce01b7c-aacc-4724-92ad-c47da132f8dc",
"name_en": "Garlic",
"name_ar": "ثوم",
"type": "ADDITIONAL",
"calorie": 12,
"price": 2,
"tax": 0,
"total": 2,
"cost": 1,
"profit": 1,
"is_tax_included": false,
"deleted_at": null,
"barcode": null,
"weight_amount": null,
"weight_unit": null,
"market_id": "eef0da10-dd19-4a4c-ab3d-23dd1b548801",
"branch_id": null,
"modifierable_type": "PRODUCT_MODIFIER_ADDON_GROUP",
"stock": null,
"product_id": null,
"sku": null,
"updated_at": 1792593344247,
"barcode_img": null
}
]
}
}{
"meta": {
"code": 401,
"status": "error",
"message": "Unauthenticated."
},
"data": null
}{
"meta": {
"code": 403,
"status": "error",
"message": "Unauthorized."
},
"data": null
}{
"meta": {
"code": 404,
"status": "error",
"message": "Resource not found."
},
"data": null
}{
"meta": {
"code": 500,
"status": "error",
"message": "Internal server error."
},
"data": null
}