Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 3.66 KB

MenuSectionCategoryItem.md

File metadata and controls

43 lines (34 loc) · 3.66 KB

MenuSectionCategoryItem

Properties

Name Type Description Notes
id str The item's ID in the partner system.
name str The name of the item.
name_translation Dict[str, str] Translation of the item name. Only support up to 1 translated language. Refer Menu Translation. [optional]
available_status str The status for the item that is in the category. Refer to FAQs for more details about availableStatus. Note: In order to set an item as "UNAVAILABLE", it is required to update both the `availableStatus` and `maxStock` fields, whereby the `maxStock` value should be set to 0.
description str The description of the item. There is a custom length limit of 2000 for `VN`. [optional]
description_translation Dict[str, str] Translation of the item description. Only support up to 1 translated language. Refer Menu Translation. [optional]
price int The item's price (excluding tax) in minor format. For example: 1900 means $19 with `currency.exponent` as 2. Refer to FAQ for more details.
photos List[str] An array string for the item’s image URL links. Refer to FAQs for more details about images. [optional]
special_type str The item's special Tag. Refer to FAQs for more details about specialType. [optional]
taxable bool For Indonesia only. This field allows the configuration for an item to be marked as tax applicable, and marked item would then be included in a commercial invoice to consumers as per the government's regulations. [optional]
barcode str The barcode Number (GTIN). Max 64 allowed. GTIN must be 8, 12, 13, 14 numeric digits. [optional]
max_stock int Available stocks under inventory for this item. Auto reduce when there is order placed for this item. Empty value implies no limit. Note: It is necessary to set `maxStock` to 0 if the `availableStatus` of the item is "UNAVAILABLE". Item will be set to "AVAILABLE" if `maxStock` > 0. [optional]
advanced_pricing AdvancedPricing [optional]
purchasability Purchasability [optional]
modifier_groups List[ModifierGroup] An array of the modifierGroup JSON objects. Max 30 allowed per item. Refer to Modifier groups for more information. [optional]

Example

from grabfood.models.menu_section_category_item import MenuSectionCategoryItem

# TODO update the JSON string below
json = "{}"
# create an instance of MenuSectionCategoryItem from a JSON string
menu_section_category_item_instance = MenuSectionCategoryItem.from_json(json)
# print the JSON string representation of the object
print(MenuSectionCategoryItem.to_json())

# convert the object into a dict
menu_section_category_item_dict = menu_section_category_item_instance.to_dict()
# create an instance of MenuSectionCategoryItem from a dict
menu_section_category_item_from_dict = MenuSectionCategoryItem.from_dict(menu_section_category_item_dict)

[Back to Model list] [Back to API list] [Back to README]