---
title: "Partially update a specific part line item for a purchase order"
method: PATCH
path: "/api/purchase-orders/{purchaseOrderId}/part-line-items/{lineItemId}"
tags: ["Purchase Order Part Line Item"]
---

# Partially update a specific part line item for a purchase order

`PATCH /api/purchase-orders/{purchaseOrderId}/part-line-items/{lineItemId}`

## Path parameters

- `purchaseOrderId` string, required
- `lineItemId` string, required

## Response `200`

Part line item

- PurchaseOrderPartLineItemDto — Represents a part line item on a purchase order.
  - `id` string, required — Unique id associated to this entity.
  - `name` string, required — part line item name
  - `quantity` number, double, required — The line item quantity
  - `price` number, double, required — The line item unit price.
  - `discountedPrice` number, double, required — The line item discounted unit price.
  - `itemId` string, required — Item id associated with this line item.
  - `isTaxable` boolean, required — Dictates whether the line item is taxable.
  - `overrideTaxRate` boolean, nullable — Dictate if the tax rate is overridden.
  - `description` string, nullable — The part line item description.
  - `accountingCodeId` string, nullable — Accounting code key identifier. Please reference /api/accounting-codes endpoint.
  - `receivedStatus` 'open' | 'partiallyReceived' | 'received', required — Purchase order line item receipt status
  - `convertedQuantity` number, double, nullable — Quantity converted into vendor UoM, if applicable
  - `subTotal` number, double, required — Total line item cost, including applicable discounts
  - `preDiscountSubTotal` number, double, required — Total line item cost, before discounts
  - `expectedReceiveDate` string, date-time, nullable — Expected receipt date for this line item
  - `promiseDate` string, date-time, nullable — Promise date (UTC).
  - `notes` string, nullable — General notes associated to this part line item
  - `externalReferences` object, nullable — Arbitrary key-value-pair like data that can be used to later on search for this line item.
  - `customFieldData` object, nullable — Custom Fields
  - `customFields` object, nullable — Custom fields that have been defined for the part line item. This should be used in favor of "CustomFieldData".
  - `isPercentageDiscount` boolean, nullable — Indicates whether FulcrumProduct.PublicApi.Dto.PurchaseOrder.PartLineItem.PartLineItemDto.DiscountAmount discount is percentage based (else, it's an absolute amount).
  - `discountAmount` number, double, nullable — The amount of the discount.
  - `vendorPartNumber` string, nullable — The vendor's known part line item number.
  - `vendorPartDescription` string, nullable — The vendor's known part line item description.
  - `vendorNote` string, nullable — Notes intended for the vendor for this part line item
  - `number` integer — Line number
  - `accountingDetails` CommonAccountingDetailsDto, required — An object that contains all accounting details.
    - `classId` string, nullable — Item class identifier. Please reference /api/item-classes endpoint.
    - `incomeAccountId` string, nullable — Income account (chart of accounts) key identifier. Please reference /api/chart-of-accounts endpoint.
    - `assetAccountId` string, nullable — Asset account (chart of accounts) key identifier. Please reference /api/chart-of-accounts endpoint.
    - `expenseAccountId` string, nullable — Expense account (chart of accounts) key identifier. Please reference /api/chart-of-accounts endpoint.
    - `cogsAccountId` string, nullable — COGS account (chart of accounts) key identifier. Please reference /api/chart-of-accounts endpoint.
  - `isInventoried` boolean, required — Indicate if this item is an inventoried item.

## Other responses

- `404` — Purchase order or line item did not exist

---

[API](https://skmtc.net/fulcrumpro/apis/fulcrum-publicapi.md) · [All operations](https://skmtc.net/fulcrumpro/apis/fulcrum-publicapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fulcrumpro/fulcrum-publicapi/versions/1b5649cff14a/schema)
