Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 1.44 KB

EditOrderItem.md

File metadata and controls

12 lines (9 loc) · 1.44 KB

# EditOrderItem

Properties

Name Type Description Notes
item_id string The item's ID in Grab system that can be obtained from the Submit Order Webhook request payload parameters under `items[].grabItemID`, or `items[].outOfStockInstruction.replacementGrabItemID` for item replacement. External item ID from Partner system is only supported when `ADDED` status and `isExternalItemID: true`.
status string The item's edited status. Leave empty string if there is no change to the item.
quantity int The item's quantity. If the item is not being updated or deleted, use the original quantity. [optional]
is_external_item_id bool Only applicable for `ADDED`status. Indicate if the `itemID` is an external item ID. Grab checks for the items that are mapped to the provided item ID, considering their availability. If multiple Grab items are found to be mapped to the provided external item ID, the last updated item will be chosen. If no suitable record is found, an 400 error will be returned to the partner, indicating that the submitted external item ID cannot be edited. [optional]

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