---
title: "Updates a Line Item"
method: PUT
path: "/estimates/{id}/line_items/{line_item_id}"
tags: ["Estimate"]
---

# Updates a Line Item

`PUT /estimates/{id}/line_items/{line_item_id}`

Required permission: Estimates - Edit

## Path parameters

- `id` integer, required
- `line_item_id` integer, required

## Request body

- object
  - `upc_code` string
  - `product_id` integer
  - `item` string
  - `name` string
  - `quantity` number
  - `price` number
  - `cost` number
  - `discount_percent` number
  - `taxable` boolean
  - `tax_note` string
  - `tax_rate_id` integer
  - `user_id` integer
  - `position` integer
  - `product_category` string

## Response `200`

successful

## Other responses

- `422` — Invalid request

---

[API](https://skmtc.net/syncromsp/apis/syncro.md) · [All operations](https://skmtc.net/syncromsp/apis/syncro/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/syncromsp/syncro/versions/3df3aed287cc/schema)
