# Item delivery preparation

A completed [standard order](/digital-platform/orders/standard-orders) may contain [item deliveries](/digital-platform/orders/item-deliveries) that require kitchen
preparation before they are delivered to the customer.

## Immediate schedule

Item deliveries with an `Immediate` schedule are immediately sent to the kitchen for preparation when the order is completed.

## On-request schedule

Item deliveries with an `OnRequest` schedule require the patron to request preparation before they are sent to the kitchen.

Preparation can be requested for a single item delivery via the [SetItemDeliveryAsRequested](/openapi/digital-platform/openapi/completed-orders/ocapicompletedorders_setitemdeliveryasrequested/) endpoint using the unique identifier of the item delivery and the
order that contains the item delivery.

To request preparation for all item deliveries in an order with an `OnRequest` schedule, use the [SetItemDeliveriesAsRequested](/openapi/digital-platform/openapi/completed-orders/ocapicompletedorders_setitemdeliveriesasrequested/) endpoint.

When requesting preparation of all item deliveries in a [parent order](/digital-platform/orders/standard-orders/linked-orders#parent-orders), the `includeChildOrders` request property can be set to `true` to also request preparation of the item deliveries with an `OnRequest` schedule in all linked [child orders](/digital-platform/orders/standard-orders/linked-orders#child-orders).

```json
{
  "includeChildOrders": true
}
```

### Unrequested deliveries

We recommend using the `Update In Seat Delivery Seats` process to automatically send `OnRequest` in-seat deliveries to the
kitchen that the moviegoer may have forgotten to request preparation for. This process only applies to in-seat deliveries. The SQL scripts for creating the process can be
found in the _Install_Customisation/Customers/VistaMobile/UpdateInSeatDeliveryTask folder of a BackOffice
installer and will need to be manually run against the Cinema database. Make sure to review the parameters in
`poptblProcessDeffinition_UpdateInseatDelivery.sql` before running the script.

## Showtime delivery window

[In-seat deliveries](/digital-platform/orders/item-deliveries#in-seat-deliveries) with a [showtime delivery window](/digital-platform/orders/item-deliveries#showtime-delivery-windows)
schedule are automatically sent to the kitchen for preparation when the showtime delivery window is reached.