Actions196
- Address Actions
- Contact Actions
- Credit Note Actions
- Customer Actions
- Delivery Note Actions
- Delivery Terms Actions
- Employee Actions
- Goods Receipt Actions
- Invoice Actions
- Liability Actions
- Offer Actions
- Payment Method Actions
- Payment Terms Group Actions
- Production Actions
- Product Actions
- Proforma Invoice Actions
- Project Actions
- Purchase Order Actions
- Purchase Price Actions
- Return Actions
- Sales Channel Actions
- Sales Order Actions
- Sales Price Actions
- Shipment Actions
- Shipping Method Actions
- Storage Location Actions
- Supplier Actions
- Tag Actions
- Warehouse Actions
- Webhook Actions
Purchase Order → Update Line Item
AI-generatedSummary
Update an existing line item in a specified purchase order by providing the purchase order ID, line item ID, and the fields to update.
Inputs
- Purchase Order ID (required) — The ID of the purchase order containing the line item to update.
- Line Item ID (required) — The ID of the line item within the purchase order to update.
- Update Fields (required) — A collection of fields to update on the line item, including delivery date, delivery date as calendar week, description, name, price amount, price currency, product ID, quantity, sort order, and tax legal notice.
Output shape
The updated line item object reflecting the changes made.
The operation requires at least the Purchase Order ID and Line Item ID to identify the line item to update. Update Fields are optional but at least one field should be provided to modify the line item. The response contains the updated data of the line item.
Examples
Example 1: Update the quantity and price of a specific line item in a purchase order.
Provide the purchaseOrderId, lineItemId, and set Update Fields with new quantity and priceAmount values.