DiscountItemGroup
- discountType: array object[] · DiscountObjectForDiscountItemGroup[]
_objects - menuType: object · MenuItemForDiscountObject
_item required - menuType: object · MenuItemPriceLevelForDiscountObject
_item _price _level required
- idType: stringFormat: uuid
Unique identifier for the given discount group.
- nameType: string
- referenceType: string
_type Reference type (string version of the 'type_id' property) of the discount group. For type_id = 1 this value will be 'DiscountItemGroup', and for type_id = 2 it will be 'DiscountComboGroup'
- translationsType: object
- nameType: string
- typeType: integer
_id min:1max:2Type of the discount group. 1 - Item, 2 - Combo
Examples
{
"id": "52cc2109-14cb-459b-a785-ea23362652d3",
"type_id": 1,
"reference_type": "DiscountItemGroup",
"name": "Discount Item Group",
"translations": {
"name": "Discount Item Group"
},
"discount_objects": [
{
"menu_item": {
"id": "e540ecbf-ae23-429b-a627-8e78cc076c22",
"name": "Menu Item",
"description": "Menu Item's description",
"translations": {
"name": "Menu Item",
"description": "Menu Item's description"
},
"food_type": null,
"state": 1,
"allergens": [
{
"id": "milk",
"translated_name": "Milk"
}
],
"image": {
"thumbnail_medium": null
},
"modifier_groups": [
{
"id": "8a698858-5063-41de-bf1a-92a9da0a3f3a",
"name": "Modifier Group",
"translations": {
"name": "Modifier Group"
},
"min_selected": 0,
"max_selected": 2,
"modifiers": [
{
"id": "685a2edc-da1e-44c7-ba26-98f7804e10d1",
"name": "Modifier",
"translations": {
"name": "Modifier"
},
"allergens": [
{
"id": "milk",
"translated_name": "Milk"
}
],
"is_preselected": false,
"price_by_order_type": 200,
"calories": 300,
"image": {
"thumbnail_small": null
}
}
]
}
]
},
"menu_item_price_level": {
"id": "8b90188d-03d0-4b56-9f0c-6bfe8099cc99",
"price_by_order_type": 800,
"calories": 500
}
}
]
}