Glossary - Create Orders (Delivery Only)

ⓘ Required Data
Please note that all the fields marked with ( * ) are required.
ParametersMeaningType
validationId * validationId returned from the dispatch availabilityendpoint. The ID cannot be reused and is valid for 10 minutes from generation. If expired validationId is sent, the request fails with error 417string
channelOrderId * The full unique ID from the ordering channel, cannot be reused within 48hr after pickup (across all accounts)string
channelOrderDisplayId * A more human-readable ID provided by the channelstring
orderType * It should default to 2, indicating it is a delivery order "orderType": 2.integer
customer * customer or end-userobject
customer.name * The name of the customerstring
customer.phoneNumber * Contact phone numberstring
customer.email Contact email of the customerstring
deliveryAddress The delivery addressobject
deliveryAddress.street * The full street address in a single-line stringstring
deliveryAddress.streetNumber numerical addresses assigned to homes, businesses, and other properties
*Please do not repeat it If the number has been already provided on the "street" field.
string
deliveryAddress.postalCode * The postal or zip codestring
deliveryAddress.city * Citystring
deliveryAddress.country Countrystring
deliveryAddress.extraAddressInfoAdditional instructions for locating the customer's locationstring
deliveryAddress.coordinates * Object containing longitude and latitude expressed as below;

"coordinates": { "coordinates": [ 9.124598503112793, 45.50004196166992 ] }
array
payment * The process of paying the order.object
payment.amount * The total amount paid should be sent as an integer with 2 decimal digits, for example, 1 euro would be sent as 100.

payment amount = _sum of prices of all products in the order + deliveryCost + serviceCharge + deliveryCostTax + serviceChargeTax + sum of all tax amounts in the taxes array##
integer
payment.type * Type of payment(cash,card). See section here.integer
items * Array of objects containing the items to be ordered.array (object)
items.plu * Stands for Price Look Up. The unique code of a product.
It can be hardoded with a standard value.
string
items.name * name of the product or modifier string
items.price * Price for each of the items. It should be sent as an integer with 2 decimal digits e.g. 1 euro would be sent as 100.integer
items.quantity * number of itemsinteger
items.subItems(where applicable)array
deliveryIsAsap * The boolean indicates whether a delivery is asap or not. boolean
pickupTime * Timestamp is in UTC yyyy-MM-ddTHH:mm:ssZall time values in our API are in UTC time as per ISO8601 string
deliveryTime * Timestamp is in UTC yyyy-MM-ddTHH:mm:ssZall time values in our API are in UTC time as per ISO8601string
courier * This specifies who is delivering an order. It should default to "restaurant" to be fulfilled by an integrated 'Dispatch' partner.string
orderIsAlreadyPaid * The boolean indicates whether the order has already been paid or not.boolean
ageCheck * Boolean indicating whether the driver should verify customer's age. boolean
decimalDigits * The specific decimal quantity sent on the order using the "decimalDigits" attribute.
The default should be “decimalDigits”: 2 .

Note: 3 decimal digits may apply in certain regions. See information here.
integer
taxesA consumption tax imposed by the government on the sale of goods and services.
*Required on tax exclusive locations US/Canada.
array (object)
taxes.taxClassIdAn ID corresponding to this tax class as used by Deliverect (not currently needed)
*Required on tax exclusive locations US/Canada.
integer
taxes.nameThe display name for this category of taxes, which is how it should be printed on a receipt (not currently needed)
*Required on tax exclusive locations US/Canada.
string
taxes.totalSee section here for more details.
It should be sent as an integer with 2 decimal digits e.g. 1 euro would be sent as 100.
*Required on tax exclusive locations US/Canada.
integer
driverTipA tip intended for the courier (see section here)
It should be sent as an integer with 2 decimal digits e.g. 1 euro would be sent as 100.
integer
deliveryCostCost of delivery applied. It should be sent as an integer with 2 decimal digits e.g. 1 euro would be sent as 100.integer
deliveryCostTaxCost of delivery tax. It should be sent as an integer with 2 decimal digits e.g. 1 euro would be sent as 100.integer
serviceChargeCost of any service charges. It should be sent as an integer with 2 decimal digits e.g. 1 euro would be sent as 10integer
serviceChargeTaxService charges tax. It should be sent as an integer with 2 decimal digits e.g. 1 euro would be sent as 100.integer
discountTotalOrdering platforms may offer multiple forms of discount in accordance with the restaurants, e.g. special offers on selected items, % discounts etc.
A discount total is sent as a minus value representing the deduction from the total order. (see guide here).

It should be sent as a negative integer with 2 decimal digits e.g. 1 euro would be sent as -100.
integer (negative)