Items

An item in T-Gate belongs to a section within a menu. These items are the actual selectable entities within a users order.

For more details on the hierarchical structure of a menu and the different item_types in T-Gate, please refer to General → Menu Structure Guides.

Model Attributes

AttributeDescriptionType
idthe unique identifier of that table entityInteger
children_idsArray of ids that represents all item_ids which are under that specific item in the items hierarchyInteger Array
description_enItem description in EnglishString or Null
description_arItem description in ArabicString or Null
image_urlItem image URL.String or Null
is_activeBoolean attribute that specifies the status of the item. non-active items cannot be used in new orders.Boolean
inactive_in_branchesArray that specifies which branches this item is inactive in.Integer Array
item_typethe type of a itemEnum String
maxFor modifier_group item types, this specifies the maximum number of modifiers to be selected under each group. This attribute is Null for other item typesInteger or Null
max_num_of_same_itemFor modifier_group item types, this specifies the maximum number of the same modifier to be selected under each group. This attribute is Null for other item typesInteger or Null
minFor modifier_group item types, this specifies the minimum number of modifiers to be selected under each group. This attribute is Null for other item typesInteger or Null
name_enItem Name in EnglishString
name_arItem Name In ArabicString or Null
📘

Children IDS

For each item, T-Gate returns an integer array of all items that are directly assigned under it. We recommend that you fetch all the items first then create these association hierarchies. refer to Partner API → Best Practices Guides to learn more.