---
title: "PUT /orders/{orderId}/amendments/{amendmentId}"
method: PUT
path: "/orders/{orderId}/amendments/{amendmentId}"
tags: ["Order amendments"]
---

# PUT /orders/{orderId}/amendments/{amendmentId}

`PUT /orders/{orderId}/amendments/{amendmentId}`

If the aggregator platform supports getting the confirmation for the order amendments from the customers, confirmation should be provided for the suggested amendments using this endpoint.

## Path parameters

- `orderId` string, required
- `amendmentId` string, required

## Request body

- ConfirmAmendments
  - `itemAmendments` OrderAmendment[], required
    - `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`

Successful response

## Other responses

- `400` — Bad request
- `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)
