A section in T-Gate platform represents a curated list of items that a specific menu offers. It serves as an organized collection of related food and beverage options provided by the menu.
For more details on the hierarchical structure of a menu and the different types of items in T-Gate, please refer to General → Menu Structure Guides.
Model Attributes
Attribute | Description | Type |
---|---|---|
id | the unique identifier of that table entity | Integer |
menu_id | The id of the parent menu under which this section exists. | Integer |
description_en | Section description in English | String or Null |
description_ar | Section description in Arabic | String or Null |
image_url | Section image url. | String or Null |
is_force_closed | Boolean attribute that specifies the status of the section. force_closed sections do not accept new orders. | Boolean |
force_closed_in_branches | Array that represents the branch ids under which this section is force closed. | Integer Array |
name_en | Section name in English | String |
name_ar | Section name in Arabic | String or Null |
opening_hour_group_id | The id of the opening_hour_group of that section. opening hours affects order creation. | Integer or Null |
Force ClosureIn Busy days where companies can't handle the amount of orders or needs to stop accepting orders from a specific section, T-Gate offers the company a way to force close it's sections which prevents new orders from being created from these section regardless of the opening hours of that section.
Check Partner API → Force Closure Guides to learn more.
Opening Hour GroupWithin the same menu, T-Gate offers it's companies a way to manage the opening hours of its sections, this means that unless force closed, applications can select items only from working sections (within their opening_hours).
Null Opening Hour GroupIf the opening_hour_group_id is null, it indicates that the section operates 24/7 and is always open.