Name |
Type |
Description |
Notes |
id |
str |
The item's externalID in the partner system. |
|
grab_item_id |
str |
The item's ID in Grab system. Partner can use this field in the `EditOrder` endpoint. |
|
quantity |
int |
The number of the item ordered. |
|
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 |
specifications |
str |
An extra note for the merchant. Empty if no note from consumer. |
[optional] |
out_of_stock_instruction |
OutOfStockInstruction |
|
[optional] |
modifiers |
List[OrderItemModifier] |
An array of JSON objects modifiers. |
[optional] |
from grabfood.models.order_item import OrderItem
# TODO update the JSON string below
json = "{}"
# create an instance of OrderItem from a JSON string
order_item_instance = OrderItem.from_json(json)
# print the JSON string representation of the object
print(OrderItem.to_json())
# convert the object into a dict
order_item_dict = order_item_instance.to_dict()
# create an instance of OrderItem from a dict
order_item_from_dict = OrderItem.from_dict(order_item_dict)
[Back to Model list] [Back to API list] [Back to README]