| Name |
Type |
Description |
Notes |
| id |
str |
The item's externalID in the partner system. |
[optional] |
| grab_item_id |
str |
The item's ID in Grab system. Partner can use this field in the `EditOrder` endpoint. Note: The index number (after `#`) is different for the same item with different modifiers. This helps identify items when editing complex orders. This is currently controlled by feature flag until full rollout, for non whitelisted partners, the '#' and index number will not be included. |
[optional] |
| name |
str |
The name of the item. |
[optional] |
| quantity |
int |
The number of the item ordered. |
[optional] |
| modifiers |
List[PosItemModifier] |
The ordered items in an array of JSON Object. |
[optional] |
| price |
int |
The price for a single item along with its associated modifiers in minor unit and tax-inclusive. ``` price = Item price(tax inclusive) + Modifier price(tax inclusive) |
(22411.06)+(1651.06)=2550 |
| tax |
int |
Tax in minor format for a single item along with its associated modifiers. `0` if tax configuration is absent. Refer to FAQs for more details about tax. ``` tax = Item tax + Modifier tax |
(22410.06)+(1650.06)=144 |
from grabfood.models.pos_item import POSItem
# TODO update the JSON string below
json = "{}"
# create an instance of POSItem from a JSON string
pos_item_instance = POSItem.from_json(json)
# print the JSON string representation of the object
print(POSItem.to_json())
# convert the object into a dict
pos_item_dict = pos_item_instance.to_dict()
# create an instance of POSItem from a dict
pos_item_from_dict = POSItem.from_dict(pos_item_dict)
[Back to Model list] [Back to API list] [Back to README]