wafeq_credit_notes_line_items_partial_update
Partially update a credit note line item by modifying only the fields you specify, such as quantity, unit amount, discount, or description, while leaving other details unchanged.
Instructions
๐ก WRITE ยท updates data ยท Credit Note Line Items ยท PATCH /credit-notes/{credit_note_id}/line-items/{id}/
Partial update credit note line item
Endpoint for partially updating an existing credit note 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``. | |
| credit_note_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. |