---
title: "POST /orders/{id}/prepared"
method: POST
path: "/orders/{id}/prepared"
tags: ["Order"]
---

# POST /orders/{id}/prepared

`POST /orders/{id}/prepared`

Grubtech will mark the order as prepared using this endpoint. This payload will consist of all the final amendments made for this order.

## Path parameters

- `id` string, required

## Request body

- OrderPrepare — Order prepare information
  - `preparedAt` string, required — The time at which the order was prepared is represented in ISO 8601 format.
  - `orderAmendments` OrderAmendment[]
    - `amendedItem` Amends, required
      - `id` string, required — Unique identifier for the original item of the order
      - `lineId` string, required — Unique identifying ID for the order line item within the order provided by the store.
      - `quantity` integer — The initial amount of the original item which came before the substitution
    - `final_quantity` integer — The final quantity of the amended item.
    - `substitutionItemId` string — Unique identifier of the substituted item
    - `substitutionLineId` string — Unique identifier for the substitution suggestion
    - `adjustmentType` 'ITEM_REMOVAL' | 'ITEM_SUBSTITUTION' | 'QTY_ADJUSTMENT', required

## Response `204`

No Content

## Other responses

- `400` — Bad Request
- `404` — The specified resource was not found
- `500` — Internal Server Error

---

[API](https://skmtc.net/grubtech/apis/grubtech-auth-server.md) · [All operations](https://skmtc.net/grubtech/apis/grubtech-auth-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/grubtech/grubtech-auth-server/revisions/21688b6dcb69/schema)
