wafeq_simplified_invoices_line_items_partial_update
Partially update a simplified invoice line item by changing only the fields you specify—like quantity, unit amount, discount, or account—without affecting the rest. Use it to correct or adjust line details on an existing invoice.
Instructions
🟡 WRITE · updates data · Simplified Invoice Line Items · PATCH /simplified-invoices/{invoice_id}/line-items/{id}/
Partial update simplified invoice line item
Endpoint for partially updating an existing simplified invoice line item.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| body | No | A ModelSerializer that takes additional arguments for "fields", "omit" and "expand" in order to control which fields are displayed, and whether to replace simple values with complex, nested serializations | |
| invoice_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. |