wafeq_items_update
Update an existing item in Wafeq by its ID to modify name, SKU, pricing, units, and tax details. Keeps product data accurate with a simple PUT request.
Instructions
๐ก WRITE ยท updates data ยท Items ยท PUT /items/{id}/
Update item
Endpoint for updating an existing item.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| body | Yes | Shared validation and save logic for item_units_of_measure across v1 and v2 serializers. | |
| 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. |