wafeq_bills_line_items_partial_update
Partially update an existing bill line item by sending only the fields that need to change, including quantity, unit amount, account, tax rate, or custom fields.
Instructions
๐ก WRITE ยท updates data ยท Bill Line Items ยท PATCH /bills/{bill_id}/line-items/{id}/
Partial update bill line item
Endpoint for partially updating an existing bill 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``. | |
| bill_id | Yes | ||
| 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. |