Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 3.42 KB

SubmitOrderRequest.md

File metadata and controls

44 lines (32 loc) · 3.42 KB

SubmitOrderRequest

A JSON object containing the order information.

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.
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.
merchantID String The merchant's ID that is in GrabFood's database.
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.
cutlery Boolean The boolean value to indicate whether cutlery are needed or not. Refer to FAQs for more details about cutlery.
orderTime String The UTC time that a consumer places the order, based on ISO_8601/RFC3339.
submitTime OffsetDateTime The order submit time, based on ISO_8601/RFC3339. `null` in Submit Order payload. Only present in the List Orders response. [optional]
completeTime OffsetDateTime The order complete time, based on ISO_8601/RFC3339. `null` in Submit Order payload. 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 Submit Order payload. Only present in the List Orders response. Refer to Order States. [optional]
currency Currency
featureFlags OrderFeatureFlags
items List<OrderItem> The ordered items in an array of JSON Object.
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
dineIn DineIn [optional]
receiver Receiver [optional]
orderReadyEstimation OrderReadyEstimation [optional]
membershipID String Membership ID for loyalty project. Only present for loyalty program partners. Empty if not applicable. [optional]

Enum: PaymentTypeEnum

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