# Collecting a completed order

The tickets and food and beverage items in a completed [standard order](/digital-platform/orders/standard-orders) have a `NotCollected` status until
one of the following events occurs:

- The order is [collected at POS or Kiosk](#collecting-at-pos-or-kiosk)
- The order is [marked as collected via OCAPI](#marking-an-order-as-collected)
- [Item delivery preparation is requested](#requesting-item-delivery-preparation)


## Collecting at POS or Kiosk

A completed [standard order](/digital-platform/orders/standard-orders) can be collected at POS or Kiosk by displaying a barcode with the booking ID of the order.

Use the [GetCompletedOrder](/openapi/digital-platform/openapi/completed-orders/ocapicompletedorders_getcompletedorder/) endpoint to retrieve the booking ID
for a completed standard order.

```json
{
  "order": {
    "id": "string",
    "type": "Standard",
    "status": "Completed",
    "booking": {
      "id": "string",
      "mode": "Paid"
    }
  }
}
```

NOTE
Some properties have been omitted from the code snippet above for brevity.

When displaying a barcode for [linked orders](/digital-platform/orders/standard-orders/linked-orders), use the booking ID of the
[parent order](/digital-platform/orders/standard-orders/linked-orders#parent-orders) to ensure all linked [child
orders](/digital-platform/orders/standard-orders/linked-orders#child-orders) can also be collected at POS or Kiosk.

## Marking an order as collected

A completed order can be marked as collected via the
[SetOrderAsCollected](/openapi/digital-platform/openapi/completed-orders/ocapicompletedorders_setorderascollected/) endpoint.

When marking a [parent order](/digital-platform/orders/standard-orders/linked-orders#parent-orders) as collected, the
`includeChildOrders` request property can be set to `true` to also mark all linked [child
orders](/digital-platform/orders/standard-orders/linked-orders#child-orders) as collected.

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

## Requesting item delivery preparation

The items assigned to an [item delivery](/digital-platform/orders/item-deliveries) that requires preparation will be marked as `Collected` as soon as the
item delivery is sent to the kitchen for preparation.

See [item delivery preparation](/digital-platform/completed-orders/item-delivery-preparation) for more info.