Ordering
Placing an order
POST /orders creates the order and sends it to the caterer in one step. There are no drafts. Everything is checked at once, and all problems come back in one 422. The full request schema, with the required fields, lengths and allowed values, is get_operation("CreateOrder").
partnerReferenceId(required, at most 50 characters): your own id. A second order with the same id returns409withexistingId.catererId: fromGET /caterers. The caterer decides what you can order:acceptsOrdersFromMenu,acceptsFreeTextOrders,needsDestination.orderType:fromMenu(senditems) orfreeText(no items; write the order inremarks).deliveryDateTimeLocal: the caterer airport's local time, without offset, e.g.2026-11-15T10:00:00.caterer.airport.timeZoneis the IANA zone; the response also givesdeliveryDateTimeUtc. A local time inside a daylight-saving change is read as standard time.paymentMethodId: one the caterer accepts, fromGET /caterers/{id}/payment-methods.aircraftRegistrationandflightType(internationalordomestic) are required.GET /aircraftlists the aircraft DeliSky knows for your customer; for a matching registration, the order takes that aircraft's oven, microwave and flight-attendant settings for the fields you leave out.handlingAgentId(optional): fromGET /handling-agents?airport=….webhookGroup(optional): one of your webhook groups; it receives this order's events. Left out, the order uses your group nameddefaultif you have one.
Items: a catererItem needs menuItemId (from GET /caterers/{id}/menu-items); a customItem needs name and subCategoryId (from GET /categories). Both need quantity (1 to 999). At most 200 items.
The response is the order (201, Location header). meta.undeliverableRecipients lists email addresses the order mail skipped; meta is left out when there are none.
Missing values and defaults
The same rules apply to POST and to the full body of PUT:
| You send | Result |
|---|---|
A field left out, null or "" |
The default: contact name, emails, phone and remarks from your customer (GET /me shows them in customer.orderDefaults; where it has none, you must send the field); hasOven, hasMicrowave, hasFlightAttendant from the aircraft if DeliSky knows it (else false, false, true); packaging bulk |
emails: [] |
Your customer's emails |
| A value | That value; text is trimmed |
So there is no "clear this field" on a PUT: leaving a field out sets its default again. To keep a value, send it again.
Examples
From the menu, with one menu item and one item of your own:
{
"partnerReferenceId": "PO-2026-0815",
"catererId": 2791,
"orderType": "fromMenu",
"deliveryDateTimeLocal": "2026-11-15T10:00:00",
"paymentMethodId": 9,
"handlingAgentId": 1803,
"aircraftRegistration": "HB-JFA",
"flightType": "international",
"flightNumber": "TRIP-4711",
"numberOfPax": 4,
"packaging": "readyToServe",
"webhookGroup": "default",
"items": [
{ "itemType": "catererItem", "menuItemId": 847093, "quantity": 4, "comments": "no onions" },
{ "itemType": "customItem", "name": "Birthday cake", "subCategoryId": 34, "quantity": 1 }
]
}
Free text, for caterers with acceptsFreeTextOrders:
{
"partnerReferenceId": "PO-2026-0816",
"catererId": 2791,
"orderType": "freeText",
"deliveryDateTimeLocal": "2026-11-16T07:30",
"paymentMethodId": 9,
"aircraftRegistration": "HB-JFA",
"flightType": "domestic",
"remarks": "Breakfast for 2 crew and 4 passengers: fruit, croissants, coffee in thermos."
}
The ids are examples; use the ones of your caterer.
Following orders
GET /orders/{id}: one of your orders.GET /orders: your orders, newest first, with filtersstatus,partnerReferenceId,catererId,deliveryFrom/deliveryTo,createdFromandupdatedSince.updatedAtUtcsupports incremental sync (updatedSince), but it's best effort; webhooks are the reliable change signal.confirmationis the caterer's answer:pending,confirmedorrejected. A change resets it topending.- Versions:
orderNumberstays the same for every version of an order;orderNumberAppendixisnullfor the first anda,b, … for each change (shown as12345a).
Statuses
status |
Meaning |
|---|---|
sent |
The caterer has the order |
canceled |
Canceled; canceledAtUtc says when |
replaced |
An older version: a change replaced it; replacedById is the newer version |
Changing an order
PUT /orders/{id} with the full order body (the same as for POST /orders, checked with the same rules and defaults) changes a sent order:
- The change becomes the next version: a new
id, the sameorderNumberwith the nextorderNumberAppendix, the samepartnerReferenceId. The caterer receives it at once and confirms it again; your webhook getsmodified. - The old version stays readable with
status: "replaced"andreplacedById.GET /ordersshows it only withstatus=replaced. Keep following the order bypartnerReferenceId, or by the newest id. - A body equal to the current version changes nothing and returns it (
200, same id, no mail, no webhook). - A retry after a lost response is safe: send the same body to the same (now old) id again. It finds the newer version, sees the same content and returns it with
200. - A different body sent to an old id returns
409withexistingId= the newest version: read it, then change that one. catererIdandpartnerReferenceIdcan't change (422). To order from another caterer, cancel and place a new order.- Also
409: the order is canceled, or its delivery time has passed at the airport.
For example, to change the number of passengers of the menu order above, send the same body with "numberOfPax": 6 to PUT /orders/{id}.
Canceling
POST /orders/{id}/cancel (no body) cancels the order and informs the caterer. These return 409:
- an order that is already canceled;
- a replaced version (cancel the newest one);
- an order whose delivery time has passed at the airport.
A canceled order stays readable, and its partnerReferenceId is free again for a new order.