---
title: "Update Booking Item"
method: PATCH
path: "/bookings/{booking_id}/items/{item_id}"
---

# Update Booking Item

`PATCH /bookings/{booking_id}/items/{item_id}`

## Path parameters

- `booking_id` integer, required
- `item_id` integer, required

## Request body

- object
  - `quantity` integer — Quantity
  - `price` number, float — Price per unit
  - `cost` number, float — Unit cost
  - `discount` object — Item discount object
    - `type` 'percentage' | 'value', required — Discount type. "percentage" — percent, "value" — absolute value.
    - `percentage` number, float, required — Percentage value
    - `amount` number, float, required
    - `sponsor` 'staff' | 'company', required — "staff" — Employee wages calculation is based on the amount after discount. This way the company discount decreases the piecework employee wages. "company" — Employee commissions will be calculated from amount before discount. This way the company discount won't affect the employee commissions.
  - `warranty` object — Item warranty object
    - `period` string, required — Warranty period
    - `periodUnits` 'days' | 'months', required — Warranty unit of measure
  - `tax_ids` integer[] — Array of Tax ID
  - `comment` 'private' | 'public' — Comment text

## Response `200`

200

- object

## Other responses

- `400` — 400

---

[API](https://skmtc.net/roapp/apis/ro-app-public-api-v2.md) · [All operations](https://skmtc.net/roapp/apis/ro-app-public-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/roapp/ro-app-public-api-v2/versions/85de4353ed28/schema)
