49ff8eb806d9
latestOpenAPI 3.0.02026-07-1498671635.3 KBOrder API
publicly-accessible
Create order
Create order
post/orders
Headers
x-je-api-versionnumber
The api version to use. Version 2.0 is the only available version.
Request body
Example request
{
"Customer": {
"Address": {
"GeoLocation": {
"Latitude": 51.51641,
"Longitude": -0.103198
}
}
},
"CustomerNotes": {
"NoteForDelivery": "Red door",
"NoteForRestaurant": "Make it spicy"
},
"Fulfilment": {
"DueAsap": false,
"DueDate": "2020-01-01T09:00:00.000Z",
"Method": "Delivery"
},
"Payment": {
"Fees": [
{
"Type": "card",
"Value": 0.25
},
{
"Type": "delivery",
"Value": 3.5
}
],
"Lines": [
{
"LastCardDigits": "1234",
"Paid": true,
"ServiceFee": 0,
"Type": "Card",
"Value": 19.95
}
],
"Tips": [
{
"Type": "driver",
"Value": 2.5
}
]
}
}Response
Created