wafeq_payslips_pay_items_partial_update
Update specific fields of an existing pay item on a payslip, such as amount, account, cost center, or description, without overwriting the entire record.
Instructions
๐ก WRITE ยท updates data ยท Pay Items ยท PATCH /payslips/{payslip_id}/pay-items/{id}/
Partial update pay item
Endpoint for partially updating an existing pay 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 | |
| payslip_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. |