Betting Entertainment Tools

Market categories (marketCategories)

In the OfferingResponse we have the field Market categories, that group markets together. They are displayed as tabs on the Custom Bet main view. Each marketCategory (tab) can contain multiple cbCategoryItems (markets), and the tabs are displayed in the order they are provided in the data. Any markets or metaMarkets can be added to cbCategoryItems, and one market can be in multiple categories.
You have to add markets to at least one category to display them in the widget.

[
    {
      id: "main",
      name: "Highlights",
      cbCategoryItems: ["oneXtwo", "total", "shots"]
    },
    {
      id: "match",
      name: "Match",
      cbCategoryItems: ["123-4", "123-5", "123-6"]
    },
    {
     id: "teams",
     name: "Teams",
     cbCategoryItems: ["888-7", "888-8", "888-9"]
    }
]