wafeq_units_of_measure_update
Update an existing unit of measure by changing its name, Arabic name, or active status using the Wafeq API.
Instructions
๐ก WRITE ยท updates data ยท Unit Of Measures ยท PUT /units-of-measure/{id}/
Update unit of measure
Endpoint for updating an existing unit of measure.
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 | |
| 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. |