DiscountComboGroup

  • Properties: 1
  • Unique identifier for the given discount group.

  • 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'

  • Properties: 1
  • Type of the discount group. 1 - Item, 2 - Combo

Examples
{
  "id": "d38a21fb-4e42-4dd0-b3c6-d65973afe0bf",
  "type_id": 2,
  "reference_type": "DiscountComboGroup",
  "name": "Discount Combo Group",
  "translations": {
    "name": "Discount Combo Group"
  },
  "discount_objects": [
    {
      "main_combo_item": {
        "id": "c17ec469-c854-49e7-8001-5b995e371e05",
        "name": "Combo Item",
        "description": "Combo Item's description",
        "translations": {
          "name": "Combo Item",
          "description": "Combo Item's description"
        },
        "price_by_order_type": 1000,
        "menu_item_price_level": {
          "id": "fc55bbec-e945-4a0b-bd08-ef436b659f4f",
          "price_by_order_type": 1000,
          "calories": 500
        },
        "menu_item": {
          "id": "7dc385dd-d312-4c2e-9bca-928d31f1fc84",
          "subcategory_id": "99cd0865-5436-40f7-bd70-e8bdf6e1bd90",
          "name": "Menu Item",
          "description": "Menu Item's description",
          "translations": {
            "name": "Menu Item",
            "description": "Menu Item's description"
          },
          "food_type": null,
          "allergens": [
            {
              "id": "milk",
              "translated_name": "Milk"
            }
          ],
          "image": {
            "thumbnail_small": null,
            "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
                  }
                }
              ]
            }
          ]
        },
        "image": {
          "thumbnail_small": null,
          "thumbnail_medium": null
        },
        "combo_meal": {
          "id": "fb49abb1-9a8c-4f38-a16c-284a07392f3c",
          "combo_groups": [
            {
              "id": "000a7a0d-5b0e-43d1-9933-fd0e63c68185",
              "combo_meal_id": "fb49abb1-9a8c-4f38-a16c-284a07392f3c",
              "type_id": 1,
              "name": "Combo Meal",
              "translations": {
                "name": "Combo Meal"
              },
              "combo_items": [
                {
                  "id": "404bde97-0602-429a-a035-493bc50055d7",
                  "combo_group_id": "000a7a0d-5b0e-43d1-9933-fd0e63c68185",
                  "is_preselected": false,
                  "price_by_order_type": 1000,
                  "menu_item_price_level": {
                    "id": "fc55bbec-e945-4a0b-bd08-ef436b659f4f",
                    "price_by_order_type": 1000,
                    "calories": 500
                  },
                  "menu_item": {
                    "id": "7dc385dd-d312-4c2e-9bca-928d31f1fc84",
                    "subcategory_id": "99cd0865-5436-40f7-bd70-e8bdf6e1bd90",
                    "name": "Menu Item",
                    "description": "Menu Item's description",
                    "translations": {
                      "name": "Menu Item",
                      "description": "Menu Item's description"
                    },
                    "food_type": null,
                    "allergens": [
                      {
                        "id": "milk",
                        "translated_name": "Milk"
                      }
                    ],
                    "image": {
                      "thumbnail_small": null,
                      "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
                            }
                          }
                        ]
                      }
                    ]
                  }
                }
              ]
            }
          ]
        }
      }
    }
  ]
}