Flipdish · Schema

OrderSummary

Order summary

RestaurantOnline OrderingMobile AppsPoint of SaleOrdersMenuPaymentsWebhooks

Properties

Name Type Description
OrderId integer Order identifier
DeliveryType string Delivery type
PickupLocationType string Pickup location type
TableServiceCatagory string Table service category
OrderState string Order state
RequestedForTime string Order requested for
StoreName string Name of the store
StoreIanaTimeZone string Store IANA time zone
CustomerName string Name of the customer
CustomerPhoneNumber string Phone number of customer
Amount number This is the sum of the OrderItemsAmount, DeliveryAmount, TipAmount and Voucher.Amount (which is usually negative) and OnlineOrderingFee It does include the OnlineOrderingFee
RefundedAmount number Refunded amount
PaymentAccountType string Payment Account
PaymentStatus string Status of the payment
Currency string Currency of payment
AppType string Type of app end user is on
LocalOrderId string Local order Id. This is used for displaying a "shorter" order ID for customers (eg. Kiosk orders)
DropOffLocationId integer id of the collection/drop off location
DropOffLocation string Represents table service drop off location
AcceptedFor string Time store has accepted the order for
Channel object
InFraudZone boolean Was order made within a fraud zone
UnusualHighValueOrder boolean Is order of unusually high value
ChannelOrderId string ChannelOrderId from external channel
ChannelOrderDisplayId string ChannelOrderDisplayId from external channel
OrderDropOffLocation object
OrderBatchInfo object
DeliveryLocation object
View JSON Schema on GitHub

JSON Schema

orders-order-summary-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/flipdish/refs/heads/main/json-schema/orders-order-summary-schema.json",
  "title": "OrderSummary",
  "description": "Order summary",
  "type": "object",
  "properties": {
    "OrderId": {
      "format": "int32",
      "description": "Order identifier",
      "type": "integer",
      "example": 500123
    },
    "DeliveryType": {
      "description": "Delivery type",
      "enum": [
        "Delivery",
        "Pickup"
      ],
      "type": "string",
      "example": "Delivery"
    },
    "PickupLocationType": {
      "description": "Pickup location type",
      "enum": [
        "TakeOut",
        "TableService",
        "DineIn"
      ],
      "type": "string",
      "example": "TakeOut"
    },
    "TableServiceCatagory": {
      "description": "Table service category",
      "enum": [
        "Generic",
        "Villa",
        "House",
        "Room",
        "Area",
        "Table",
        "ParkingBay",
        "Gate",
        "DriveThrough",
        "Team"
      ],
      "type": "string",
      "nullable": true,
      "example": "Generic"
    },
    "OrderState": {
      "description": "Order state",
      "enum": [
        "Created",
        "PlacedCanBeCancelled",
        "ReadyToProcess",
        "AcceptedByRestaurant",
        "Dispatched",
        "Delivered",
        "Cancelled",
        "ManualReview",
        "RejectedByStore",
        "RejectedByFlipdish",
        "RejectedAutomatically",
        "RejectedAfterBeingAccepted",
        "AcceptedAndRefunded",
        "PendingPayment"
      ],
      "type": "string",
      "example": "Created"
    },
    "RequestedForTime": {
      "format": "date-time",
      "description": "Order requested for",
      "type": "string",
      "example": "2026-06-02T12:00:00Z"
    },
    "StoreName": {
      "description": "Name of the store",
      "type": "string",
      "example": "Example Name"
    },
    "StoreIanaTimeZone": {
      "description": "Store IANA time zone",
      "type": "string",
      "example": "string"
    },
    "CustomerName": {
      "description": "Name of the customer",
      "type": "string",
      "example": "Example Name"
    },
    "CustomerPhoneNumber": {
      "description": "Phone number of customer",
      "type": "string",
      "example": "+353000000000"
    },
    "Amount": {
      "format": "double",
      "description": "This is the sum of the OrderItemsAmount, DeliveryAmount, TipAmount and Voucher.Amount (which is usually negative) and OnlineOrderingFee\r\nIt does include the OnlineOrderingFee",
      "type": "number",
      "example": 12.5
    },
    "RefundedAmount": {
      "format": "double",
      "description": "Refunded amount",
      "type": "number",
      "example": 12.5
    },
    "PaymentAccountType": {
      "description": "Payment Account",
      "enum": [
        "Card",
        "Cash",
        "Ideal",
        "Bancontact",
        "Giropay",
        "Eps",
        "Emv",
        "PayPal",
        "PayGreen",
        "GoogleWalletToken"
      ],
      "type": "string",
      "example": "Card"
    },
    "PaymentStatus": {
      "description": "Status of the payment",
      "enum": [
        "Paid",
        "Unpaid",
        "Refunded",
        "PartiallyRefunded",
        "Disputed"
      ],
      "type": "string",
      "example": "Paid"
    },
    "Currency": {
      "description": "Currency of payment",
      "enum": [
        "EUR",
        "USD",
        "GBP",
        "CAD",
        "AUD",
        "DJF",
        "ZAR",
        "ETB",
        "AED",
        "BHD",
        "DZD",
        "EGP",
        "IQD",
        "JOD",
        "KWD",
        "LBP",
        "LYD",
        "MAD",
        "OMR",
        "QAR",
        "SAR",
        "SYP",
        "TND",
        "YER",
        "CLP",
        "INR",
        "AZN",
        "RUB",
        "BYN",
        "BGN",
        "NGN",
        "BDT",
        "CNY",
        "BAM",
        "CZK",
        "DKK",
        "CHF",
        "MVR",
        "BTN",
        "XCD",
        "BZD",
        "HKD",
        "IDR",
        "JMD",
        "MYR",
        "NZD",
        "PHP",
        "SGD",
        "TTD",
        "XDR",
        "ARS",
        "BOB",
        "COP",
        "CRC",
        "CUP",
        "DOP",
        "GTQ",
        "HNL",
        "MXN",
        "NIO",
        "PAB",
        "PEN",
        "PYG",
        "UYU",
        "VEF",
        "IRR",
        "XOF",
        "CDF",
        "XAF",
        "HTG",
        "ILS",
        "HRK",
        "HUF",
        "AMD",
        "ISK",
        "JPY",
        "GEL",
        "KZT",
        "KHR",
        "KRW",
        "KGS",
        "LAK",
        "MKD",
        "MNT",
        "BND",
        "MMK",
        "NOK",
        "NPR",
        "PKR",
        "PLN",
        "AFN",
        "BRL",
        "MDL",
        "RON",
        "RWF",
        "SEK",
        "LKR",
        "SOS",
        "ALL",
        "RSD",
        "KES",
        "TJS",
        "THB",
        "ERN",
        "TMT",
        "BWP",
        "TRY",
        "UAH",
        "UZS",
        "VND",
        "MOP",
        "TWD",
        "BMD"
      ],
      "type": "string",
      "example": "EUR"
    },
    "AppType": {
      "description": "Type of app end user is on",
      "enum": [
        "Unknown",
        "Ios",
        "Android",
        "Web",
        "Kiosk",
        "Pos",
        "TelephoneCall",
        "Sms",
        "PwaAndroid",
        "PwaIos",
        "Google"
      ],
      "type": "string",
      "example": "Unknown"
    },
    "LocalOrderId": {
      "description": "Local order Id. This is used for displaying a \"shorter\" order ID for customers (eg. Kiosk orders)",
      "type": "string",
      "example": "500123"
    },
    "DropOffLocationId": {
      "format": "int32",
      "description": "id of the collection/drop off location",
      "type": "integer",
      "nullable": true,
      "example": 500123
    },
    "DropOffLocation": {
      "description": "Represents table service drop off location",
      "type": "string",
      "example": "string"
    },
    "AcceptedFor": {
      "format": "date-time",
      "description": "Time store has accepted the order for",
      "type": "string",
      "nullable": true,
      "example": "2026-06-02T12:00:00Z"
    },
    "Channel": {
      "$ref": "#/components/schemas/Channel"
    },
    "InFraudZone": {
      "description": "Was order made within a fraud zone",
      "type": "boolean",
      "example": true
    },
    "UnusualHighValueOrder": {
      "description": "Is order of unusually high value",
      "type": "boolean",
      "example": true
    },
    "ChannelOrderId": {
      "description": "ChannelOrderId from external channel",
      "type": "string",
      "example": "500123"
    },
    "ChannelOrderDisplayId": {
      "description": "ChannelOrderDisplayId from external channel",
      "type": "string",
      "example": "500123"
    },
    "OrderDropOffLocation": {
      "$ref": "#/components/schemas/OrderDropOffLocation"
    },
    "OrderBatchInfo": {
      "$ref": "#/components/schemas/OrderBatchSummary"
    },
    "DeliveryLocation": {
      "$ref": "#/components/schemas/DeliveryLocation"
    }
  }
}