Webhooks

DeliSky calls your webhook URL when one of your orders changes, so you don't have to poll. In v0 the webhooks are the same as for DeliSky's earlier partner integrations; their delivery and signing will change before v1 (see the end).

Setup and events

  • DeliSky sets up your webhook groups, each with one HTTPS URL. An order goes to the group in its webhookGroup; without one, to your group named default. If you have no default group, an order without webhookGroup sends no webhooks.
  • Every event goes to the same URL, as an HTTP POST with a JSON body. eventName tells them apart:
eventName When
sent The order was placed and sent to the caterer
modified A new version was sent (your PUT, then for the new version's order), or the caterer or DeliSky confirmed or rejected the order
canceled The order was canceled

Body

{
  "eventName": "modified",
  "order": {
    "orderId": "PO-2026-0815",
    "reference": "PO-2026-0815",
    "partnerReferenceId": null,
    "orderNumber": 12345,
    "orderNumberAppendix": "a",
    "orderType": "FromMenu",
    "catererName": "Carlos Aviation Catering",
    "operatorName": "…",
    "airportName": "Munich",
    "handlingAgentName": "…",
    "contactName": "Jane Partner",
    "emails": ["ops@partner.example"],
    "phone": "+41 44 000 00 00",
    "deliveryDateTimeLocal": "2026-11-15T10:00:00",
    "timeZoneId": "Europe/Berlin",
    "deliveryDateTimeUtc": "2026-11-15T09:00:00+01:00",
    "deliveryToTheAircraft": true,
    "orderText": "",
    "remarks": "",
    "dietaryRequirements": "",
    "aircraftRegistration": "HB-JFA",
    "flightNumber": "TRIP-4711",
    "flightDuration": "02:30",
    "numberOfPax": 6,
    "typeOfFlight": "International Flight",
    "flightType": "International Flight",
    "destination": "",
    "heatingEquipment": "Oven",
    "readyToServe": true,
    "plasticPlatters": null,
    "hasFlightAttendant": true,
    "paymentOption": "Invoice",
    "vatExemption": "",
    "paymentStatus": "",
    "quote": 0,
    "calculatedTotal": 0,
    "currency": "EUR",
    "confirmationStatus": "Pending",
    "isCanceled": false
  },
  "signature": {
    "token": "5f0c3b1e9a7d4e21b8c6f0a2d4e6f8a1",
    "timeStamp": "1794251327",
    "signature": "9b2e…"
  }
}

What to know about the fields:

  • reference (and the older orderId) is your partnerReferenceId. The field named partnerReferenceId is only set when your id is a number. It is there for older integrations.
  • The order has no id. Find it with GET /orders?partnerReferenceId=…, which returns the current version.
  • confirmationStatus is Pending, FullyConfirmed or Rejected. The REST order has the same information in confirmation.
  • deliveryDateTimeUtc is not reliable: it is the UTC time with the local offset appended. Use deliveryDateTimeLocal with timeZoneId, or deliveryDateTimeUtc from GET /orders/{id}.
  • calculatedTotal can be too low. It may contain only the fees, not the items.
  • Field values follow DeliSky's older formats (e.g. orderType FromMenu, flightType International Flight). The REST API's camelCase values are the ones to rely on.

Signature

signature.signature is the lowercase hex HMAC-SHA256 of timeStamp + token (the two strings joined). timeStamp is a Unix time in seconds, and token is random per call. DeliSky gives you the signing key. Check the signature, and reject calls whose timeStamp is more than a few minutes old.

Delivery

  • One attempt. There are no retries: a call that fails or times out is not repeated.
  • No event id. You can't drop duplicates by id, and a missed event is not sent again.
  • Answer quickly with a 2xx. Do the work after you have answered.

So treat each event as a signal to read GET /orders/{id} or GET /orders?partnerReferenceId=…. For anything you must not miss, also sync with GET /orders?updatedSince=….

Before v1

DeliSky plans retries, an event id in the body and in a Webhook-Id header, and a signing secret of your own per webhook group. DeliSky tells partners before the change.