This request marks an order as delivered on GrabFood.
Name | Type | Description | Notes |
---|---|---|---|
order_id | str | The order's ID that is returned from GrabFood. Refer to FAQs for more details about orderID and shortOrderNumber. | |
from_state | str | Specify the order's initial state. | |
to_state | str | Specify the order's new state. |
from grabfood.models.order_delivery_request import OrderDeliveryRequest
# TODO update the JSON string below
json = "{}"
# create an instance of OrderDeliveryRequest from a JSON string
order_delivery_request_instance = OrderDeliveryRequest.from_json(json)
# print the JSON string representation of the object
print(OrderDeliveryRequest.to_json())
# convert the object into a dict
order_delivery_request_dict = order_delivery_request_instance.to_dict()
# create an instance of OrderDeliveryRequest from a dict
order_delivery_request_from_dict = OrderDeliveryRequest.from_dict(order_delivery_request_dict)