Skip to content

Latest commit

 

History

History
188 lines (165 loc) · 8.74 KB

File metadata and controls

188 lines (165 loc) · 8.74 KB

Order

Properties

Name Type Description Notes
store StoreSummary Store summary [optional]
customer CustomerSummary Customer summary [optional]
voucher OrderVoucherSummary Voucher summary [optional]
fees FeeSummary Fee summary [optional]
orderItems List<OrderItem> Ordered items [optional]
deliveryLocation DeliveryLocation Delivery location for delivery orders [optional]
customerLocation Coordinates Customer location [optional]
maskedPhoneNumber MaskedPhoneNumber Represents customers masked phone number [optional]
dropOffLocationId Integer Represents table service drop off location [optional]
dropOffLocation String Represents table service drop off location [optional]
acceptedFor OffsetDateTime Time store has accepted the order for [optional]
inFraudZone Boolean Was order made within a fraud zone [optional]
unusualHighValueOrder Boolean Is order of unusually high value [optional]
rejectedByUserId Integer Id of user who rejected order, if available [optional]
channelOrderId String ChannelOrderId from external channel [optional]
channelOrderDisplayId String ChannelOrderDisplayId from external channel [optional]
channel Channel Channel where the Order comes from [optional]
orderDropOffLocation OrderDropOffLocation DropOffLocation selected for this order [optional]
fulfillmentStatus OrderFulfillmentStatusBase [BETA - this is a new field in development] Fulfillment status for this order [optional]
orderBatchInfo OrderBatchSummary OrderBatch information [optional]
taxItems List<TaxItem> A collection of tax items on the order. [optional]
createdCampaignVoucherId Integer The id of the campaign voucher that was created from this order [optional]
orderId Integer Order identifier [optional]
localOrderId String Local order Id. This is used for displaying a &quot;shorter&quot; order ID for customers (eg. Kiosk orders) [optional]
deliveryType DeliveryTypeEnum Delivery type [optional]
pickupLocationType PickupLocationTypeEnum Pickup location type [optional]
tableServiceCatagory TableServiceCatagoryEnum Pickup location type [optional]
tipAmount Double Tip amount [optional]
deliveryAmount Double Delivery amount [optional]
orderItemsAmount Double Ordered items amount [optional]
serviceChargeAmount Double Service Charge Amount [optional]
serviceChargePercentage Double Service Charge Percentage [optional]
amount Double This is the sum of the OrderItemsAmount, DeliveryAmount, TipAmount and Voucher.Amount (which is usually negative) and OnlineOrderingFee for cash orders. It does not include the OnlineOrderingFee in the case of card orders as this fee is charged by Flipdish directly to the customer. [optional]
processingFee Double This contains the online ordering processing fee. For card payments this is charged directly to the customer and for cash orders it is paid by the customer to the store. It is tax inclusive. [optional]
paymentAccountType PaymentAccountTypeEnum Payment account type [optional]
paymentAccountDescription String Payment account description (like Visa ****2371 or Apple Pay. or Cash) [optional]
orderState OrderStateEnum Order state [optional]
isPreOrder Boolean Is pre-order [optional]
placedTime OffsetDateTime Order placed time [optional]
requestedForTime OffsetDateTime Order requested for [optional]
chefNote String Chef note [optional]
appType AppTypeEnum Used app type [optional]
userRating Integer User rating [optional]
paymentStatus PaymentStatusEnum Status of the payment [optional]
rejectionReason RejectionReasonEnum Rejection reason. Can have value if the order is rejected. [optional]
refundedAmount Double Amount refunded to customer. [optional]
deliveryTrackingStatus DeliveryTrackingStatusEnum Delivery tracking status [optional]
driverId Integer Assigned driver identifier [optional]
totalTax Double Total tax applied to order [optional]
orderTrackingCode String Unique, 6 character long alpha numeric code for tracking. [optional]
deliveryFeeAreaId Integer Delivery area identifier [optional]
receiptCode String Code used to view the order's receipt [optional]
totalDepositReturnFeeAmount Double This contains the total deposit return fee amount for the order. [optional]

Enum: DeliveryTypeEnum

Name Value
DELIVERY "Delivery"
PICKUP "Pickup"

Enum: PickupLocationTypeEnum

Name Value
TAKEOUT "TakeOut"
TABLESERVICE "TableService"
DINEIN "DineIn"

Enum: TableServiceCatagoryEnum

Name Value
GENERIC "Generic"
VILLA "Villa"
HOUSE "House"
ROOM "Room"
AREA "Area"
TABLE "Table"
PARKINGBAY "ParkingBay"
GATE "Gate"
DRIVETHROUGH "DriveThrough"
TEAM "Team"

Enum: PaymentAccountTypeEnum

Name Value
CARD "Card"
CASH "Cash"
IDEAL "Ideal"
BANCONTACT "Bancontact"
GIROPAY "Giropay"
EPS "Eps"
EMV "Emv"
PAYPAL "PayPal"
PAYGREEN "PayGreen"
GOOGLEWALLETTOKEN "GoogleWalletToken"

Enum: OrderStateEnum

Name Value
CREATED "Created"
PLACEDCANBECANCELLED "PlacedCanBeCancelled"
READYTOPROCESS "ReadyToProcess"
ACCEPTEDBYRESTAURANT "AcceptedByRestaurant"
DISPATCHED "Dispatched"
DELIVERED "Delivered"
CANCELLED "Cancelled"
MANUALREVIEW "ManualReview"
REJECTEDBYSTORE "RejectedByStore"
REJECTEDBYFLIPDISH "RejectedByFlipdish"
REJECTEDAUTOMATICALLY "RejectedAutomatically"
REJECTEDAFTERBEINGACCEPTED "RejectedAfterBeingAccepted"
ACCEPTEDANDREFUNDED "AcceptedAndRefunded"
PENDINGPAYMENT "PendingPayment"

Enum: AppTypeEnum

Name Value
UNKNOWN "Unknown"
IOS "Ios"
ANDROID "Android"
WEB "Web"
KIOSK "Kiosk"
POS "Pos"
TELEPHONECALL "TelephoneCall"
SMS "Sms"
PWAANDROID "PwaAndroid"
PWAIOS "PwaIos"
GOOGLE "Google"

Enum: PaymentStatusEnum

Name Value
PAID "Paid"
UNPAID "Unpaid"
REFUNDED "Refunded"
PARTIALLYREFUNDED "PartiallyRefunded"
DISPUTED "Disputed"

Enum: RejectionReasonEnum

Name Value
TOOBUSY "TooBusy"
FOODUNAVAILABLE "FoodUnavailable"
UNABLETODELIVER "UnableToDeliver"
UNKNOWNADDRESS "UnknownAddress"
UNKNOWNREASON "UnknownReason"
TOOSOON "TooSoon"
TIMEUNAVAILABLE "TimeUnavailable"
DONTDELIVERTOAREA "DontDeliverToArea"
STOREUNCONTACTABLE "StoreUncontactable"

Enum: DeliveryTrackingStatusEnum

Name Value
UNASSIGNED "Unassigned"
UNACCEPTED "Unaccepted"
ACCEPTED "Accepted"
CARRYING "Carrying"
ONTHEWAY "OnTheWay"
ARRIVEDATLOCATION "ArrivedAtLocation"
DELIVERED "Delivered"
CANNOTDELIVER "CannotDeliver"