Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 4.16 KB

File metadata and controls

46 lines (33 loc) · 4.16 KB

EditOrderV2Response

Properties

Name Type Description Notes
orderID String The order's ID that is returned from GrabFood. Refer to FAQs for more details about orderID and shortOrderNumber. [optional]
shortOrderNumber String The GrabFood short order number. This is unique for each merchant per day. Refer to FAQs for more details about orderID and shortOrderNumber. [optional]
merchantID String The merchant's ID that is in GrabFood's database. [optional]
partnerMerchantID String The merchant's ID that is on the partner's database. [optional]
paymentType PaymentTypeEnum The payment method used. Refer to FAQs for more details about paymentType. [optional]
cutlery Boolean The boolean value to indicate whether cutlery are needed or not. Refer to FAQs for more details about cutlery. [optional]
orderTime String The UTC time that a consumer places the order, based on ISO_8601/RFC3339. [optional]
submitTime OffsetDateTime The order submit time, based on ISO_8601/RFC3339. `null` in EditOrder V2 response. Only present in the List Orders response. [optional]
completeTime OffsetDateTime The order complete time, based on ISO_8601/RFC3339. `null` in EditOrder V2 response. Only present in the List Orders response. [optional]
scheduledTime String The order scheduled time, based on ISO_8601/RFC3339. Empty for non-scheduled orders. [optional]
orderState String The state of the order. Empty in EditOrder V2 response. Only present in the List Orders response. Refer to Order States. [optional]
currency Currency [optional]
featureFlags OrderFeatureFlags [optional]
items List<OrderItem> The ordered items in an array of JSON Object. [optional]
campaigns List<OrderCampaign> The campaigns that are applicable for the order. `null` when there is no campaign applied. Only campaigns that are funded by merchants will be sent. [optional]
promos List<OrderPromo> An array of promotion objects. `null` when there is no promo code applied. Only promotions that are funded by merchants will be sent. [optional]
price OrderPrice [optional]
dineIn DineIn [optional]
receiver Object This field is set to `null` in the EditOrder V2 response. Refer to the Submit Order payload for the complete receiver information. [optional]
orderReadyEstimation OrderReadyEstimation [optional]
membershipID String Membership ID for loyalty project. Only present for loyalty program partners. Empty if not applicable. [optional]
discounts List<GrabDiscount1> The discounts that are applicable for the paybill order in dineout STO case. `null` when there is no discount applied. This is only applicable for STO order [optional]
payments List<String> This field is set to `null` in the EditOrder V2 response. Refer to the Submit Order payload for the complete payment details. [optional]

Enum: PaymentTypeEnum

Name Value
CASH "CASH"
CASHLESS "CASHLESS"
UNKNOWN_DEFAULT_OPEN_API "unknown_default_open_api"