---
title: "Starts preparation of items in a completed standard order"
method: POST
path: "/ocapi/v1/orders/completed/{orderId}/preparation"
tags: ["Completed Orders"]
deprecated: true
---

# Starts preparation of items in a completed standard order

`POST /ocapi/v1/orders/completed/{orderId}/preparation`

## Request

- Base URL: `https://developer.vista.co` (the document declares no server; this is the origin it was published from)
- URL: `https://developer.vista.co/ocapi/v1/orders/completed/{orderId}/preparation`
- Auth: none declared
- TypeScript: <https://skmtc.dev/vista/apis/vista-digital-platform/docs/ocapi/v1/orders/completed/:orderId/preparation/post.ts> (a function with typed inputs; its response is checked against the schema)

> **Deprecated.**

Calling this endpoint will also set the CollectionStatus of the items to Collected.




It is not necessary to call this endpoint if [SetOrderAsCollected](/openapi/digital-platform/openapi/completed-orders/ocapicompletedorders_setorderascollected) had been called prior
as the concession items that require preparing will have already been sent to the kitchen.

#### Licenses Required


- Vista.Ocapi

## Path parameters

- `orderId` string, required

## Headers

- `Connect-Region-Code` string

## Response `200`

Success

- OcapiV1OrdersPreparationsOrderPreparation: Represents the preparation and collection details of a completed standard order
  - `collectionNumber` integer, nullable: Gets the number generated by the site that can be used to collect the completed standard order when the order preparation Status equals order preparation status Completed
  - `status` 'NotStarted' | 'Started' | 'Completed' | 'Collected' | 'Cancelled', required: Represents the status of an order preparation

## Other responses

- `400`: Order preparation cannot be started.
- `404`: Order does not exist.

---

[API](https://skmtc.dev/vista/apis/vista-digital-platform.md) - [All operations](https://skmtc.dev/vista/apis/vista-digital-platform/llms.txt) - [OpenAPI document](https://skmtc.dev/vista/apis/vista-digital-platform/revisions/c46f30854000?raw)
