Order
An order for food to be delivered or picked up from a restaurant
Fields
Description
Type
Name
Unique identifier for the order
string
apiKey
Customer-facing, unique identifier for the order
number
id
Unix timestamp when the order was placed
number
datePlaced
Whether the order is for delivery or pickup. Valid values are "delivery" and "pickup"
string
method
The payment method for the order. Valid values are "cash" and "card"
string
payment
Unique identifier for the restaurant to which the order is sent
string
restaurantApiKey
Unique identifier for the user who placed the order
string
recipientApiKey
The credit card that was used to pay for the order
card
The address to which the order is delivered
address
An array of selected items and their customization choices
items