---
title: "Update an Inventory Order Item"
method: PUT
path: "/inventory/orders/{orderId}/items/{orderItemId}"
tags: ["InventoryOrders"]
---

# Update an Inventory Order Item

`PUT /inventory/orders/{orderId}/items/{orderItemId}`

This endpoint updates an item for the given inventory order.

## Request body

- object
  - `quantity` integer — The quantity of the inventory product being ordered.
  - `unit_price` integer — The unit price of the inventory product in the lowest denomination for the product's currency.

## Response `200`

The inventory order item was successfully retrieved

- object
  - `data` InventoryOrderItem, required
    - `id` string, uuid, required — The ID of the inventory order item.
    - `order_id` string, uuid, required — The ID of the inventory order the item belongs to.
    - `quantity` integer, required — The quantity of the item to be ordered.
    - `unit_price` integer, required — The unit price of the item in the lowest denomination for the product's currency.
    - `product_id` string, uuid, required — The ID of the inventory product to be ordered.
    - `product_name` string, required — The name of the inventory product to be ordered.
    - `line_total` integer, required — The total price of the item in the lowest denomination for the supplier's currency.

## Other responses

- `401` — The user is unauthenticated
- `403` — The authenticated user does not have permission.
- `404` — The resource couldn't be found
- `422` — The request didn't pass validation

---

[API](https://skmtc.dev/try/apis/trybe-api.md) · [All operations](https://skmtc.dev/try/apis/trybe-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/try/trybe-api/revisions/f37f92702da5/schema)
