Basket Model

ⓘ Required Data

Please note that all the fields marked with * are required.


ParametersMeaningType
storeId * A storeId is the unique identifier for a store–channel (ordering platform) at a specific location. and may also be referenced as channelLinkIdIn order to retrieve the stores existing on a specific location the GET STORES should be usedstring
fulfillmentDefines how the order will be fulfilled.Object
fullfillment.type * Types of orders to be included inside on the fulfilllment object. These are the allowed values_pickup- Takeaway orders_delivery - Delivery handled directly by the ordering platform_eatIn - Orders consumed on premises (dine-in)enum
timeTimestamp is in UTC yyyy-MM-ddTHH:mm:ssZ all time values in our API are in UTC time as per ISO8601*(for delivery, pickup and any non-asap order)string
addressDelivery address information for the order. Required when type = "delivery"object
address.lineFull formatted delivery address line
Example: "Foreestelaan 82, 9000 Gent, Belgium"
string
address.coordinatesGeographical coordinates of the delivery address in [long, lat] order, used for precise location mapping and routing. eg., [51.03162341734958, 3.7337162550022622]Array
spotIdentifier of the dining spot (such as a table number)Required when type = "eatIn"string
noteOptional free-text field that contains special instructions or comments from the customer about the order (e.g., cooking preferences, dietary requests, packaging notes)string
itemsList of products the customer wants to orderarray of objects
items.menuIdinternal Deliverect menu id. You can retrieve the menuId via GET Store Menustring
items.pluUnique identifier of the item, to be used when creating ordersstring
items.quantityNumber of units of the item added to the basketinteger
items. noteSpecial instructions for the itemstring
items. subItemsmodifiers applied to the parent item. Each subItem corresponds to a chosen modifier (where applicable)array of objects
subItems. pluUnique identifier of the item (modifier)string
subItems.customizationPluPLU of the modifier group that the subItem belongs tostring
subItems. quantityNumber of times this modifier is applied to the iteminteger
customerInformation about the customer placing the ordeobject
customer. nameFull name of the customerstring
customer.companyNameName of the company or organization associated with the order.string
customer.phoneNumberCustomer’s contact number for order confirmation or delivery communication. Eg., "+3211223344"string
customer.emailCustomer’s email addressstring
customer. externalIdExternal reference ID for the customer in a third-party systemstring