wafeq_simplified_invoices_line_items_update
Update an existing simplified invoice line item with new account, description, quantity, and unit amount. Provide the invoice ID and line item ID to apply changes.
Instructions
๐ก WRITE ยท updates data ยท Simplified Invoice Line Items ยท PUT /simplified-invoices/{invoice_id}/line-items/{id}/
Update simplified invoice line item
Endpoint for updating an existing simplified invoice line item.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| body | Yes | 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. |