Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 1.6 KB

EditOrderItem.md

File metadata and controls

28 lines (16 loc) · 1.6 KB

EditOrderItem

Properties

Name Type Description Notes
itemID 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 StatusEnum The item's edited status. Leave empty string if there is no change to the item.
quantity Long The item's quantity. If the item is not being updated or deleted, use the original quantity. [optional]
isExternalItemID Boolean 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]

Enum: StatusEnum

Name Value
DELETED "DELETED"
UPDATED "UPDATED"
ADDED "ADDED"
EMPTY ""
UNKNOWN_DEFAULT_OPEN_API "unknown_default_open_api"