wafeq_purchase_orders_line_items_partial_update
Partially update a purchase order line item by changing only the fields you specify, such as quantity, unit amount, discount, tax rate, or custom fields, without affecting other line item data.
Instructions
๐ก WRITE ยท updates data ยท Purchase Order Line Items ยท PATCH /purchase-orders/{purchase_order_id}/line-items/{id}/
Partial update purchase order line item
Endpoint for partially updating an existing purchase order line item.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| body | No | Augment ``custom_fields`` in the output with computed CALCULATED field values. Apply to any line-item serializer whose model has ``get_resolved_custom_fields``. | |
| idempotency_key | No | Optional idempotency key (sent as the X-Wafeq-Idempotency-Key header). A UUID v4 is generated automatically when omitted, so an automatic network retry can never duplicate this operation. Pass your own stable value to make a deliberate re-invocation safe as well. | |
| purchase_order_id | Yes |