Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 3.46 KB

MenuItem.md

File metadata and controls

25 lines (22 loc) · 3.46 KB

# MenuItem

Properties

Name Type Description Notes
id string The item's ID in the partner system. This ID should be unique.
name string The name of the item.
name_translation array<string,string> Translation of the item name. Only support up to 1 translated language. Refer Menu Translation. [optional]
available_status string The status for the item. Refer to FAQs for more details about availableStatus. > Note: In order to set an item as `&quot;UNAVAILABLE&quot;`, it is required to update both the `availableStatus` and `maxStock` fields, whereby the `maxStock` should be set to 0.
description string The description of the item. There is a custom length limit of 2000 for `VN`. [optional]
description_translation array<string,string> Translation of the item description. Only support up to 1 translated language. Refer Menu Translation. [optional]
price int The item's price in minor format. For example: 1900 means $19 with `currency.exponent` as 2. Refer to FAQ to determine whether the pricing should be tax-inclusive or tax-exclusive.
photos string[] An array string for the item’s image URL link. Only 1 image is supported. Refer to FAQs for more details about images formats. [optional]
special_type string 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 string The barcode Number (GTIN). Max 64 allowed. GTIN must be 8, 12, 13, 14 numeric digits. [optional]
selling_time_id string The selling time's ID for the item. This value overrides the category's selling time if it is different. Empty value implies the category's selling time will be applied. [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 `&quot;UNAVAILABLE&quot;`. Item will be set to `&quot;AVAILABLE&quot;` if `maxStock` > 0. [optional]
sequence int The sort or display order of the item within the menu. [optional]
advanced_pricing \Grab\GrabfoodApiSdk\Model\AdvancedPricing [optional]
purchasability \Grab\GrabfoodApiSdk\Model\Purchasability [optional]
modifier_groups \Grab\GrabfoodApiSdk\Model\ModifierGroup[] An array of the modifierGroup JSON objects. Max 30 allowed per item. Refer to Modifier groups for more information. [optional]

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