wafeq_units_of_measure_partial_update
Partially update a unit of measure by sending only the fields you want to change—name, Arabic name, or active status. Keep other data untouched and avoid full payloads.
Instructions
🟡 WRITE · updates data · Unit Of Measures · PATCH /units-of-measure/{id}/
Partial update unit of measure
Endpoint for partially updating an existing unit of measure.
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 | |
| 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. |