---
title: "Update a sales opportunity line item"
method: PATCH
path: "/v1/finance/salesOpportunities/{salesOpportunityId}/lineItems/{salesOpportunityLineItemId}"
tags: ["SalesOpportunities"]
---

# Update a sales opportunity line item

`PATCH /v1/finance/salesOpportunities/{salesOpportunityId}/lineItems/{salesOpportunityLineItemId}`

## Request

- Base URL: `https://api.bigchange.com`
- URL: `https://api.bigchange.com/v1/finance/salesOpportunities/{salesOpportunityId}/lineItems/{salesOpportunityLineItemId}`
- Auth: HTTP bearer

Update a sales opportunity line item (required scope finance:write)

## Path parameters

- `salesOpportunityId` integer, required
- `salesOpportunityLineItemId` integer, required

## Headers

- `Customer-Id` integer, required

## Request body

- UpdateSalesOpportunityLineItemModel: Represents a model that holds information about updating a sales opportunity line item
  - `quantity` number, double: The quantity of the sales opportunity line item<br/><br/>Optional: Omit to retain current value
  - `description` string: Description of the sales opportunity line item<br/><br/>Optional: Omit to retain current value
  - `taxId` integer, nullable: Tax identifier (must exist and not be deleted for customer). Nullable<br/><br/>Optional: Omit to retain current value or provide null to unset
  - `unitCost` number, double, nullable: Unit cost (nullable, non-negative)<br/><br/>Optional: Omit to retain current value or provide null to unset
  - `unitSellingPrice` number, double: Unit selling price (non-negative)<br/><br/>Optional: Omit to retain current value
  - `nominalCodeId` integer, nullable: Nominal code identifier (must exist and not be deleted for customer)<br/><br/>Optional: Omit to retain current value or provide null to unset
  - `departmentCodeId` integer, nullable: Department code identifier (must exist and not be deleted for customer)<br/><br/>Optional: Omit to retain current value or provide null to unset

## Response `204`

No Content

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `422`: Unprocessable Content
- `500`: Internal Server Error

---

[API](https://skmtc.dev/bigchange/apis/bigchange-dx.md) - [All operations](https://skmtc.dev/bigchange/apis/bigchange-dx/llms.txt) - [OpenAPI document](https://skmtc.dev/bigchange/apis/bigchange-dx/revisions/b262bfdb1dd0?raw)
