wafeq_items_create
Create a new item in Wafeq by providing name, SKU, pricing, tax, and inventory details. Include an idempotency key to make retries safe and avoid duplicate records.
Instructions
๐ก WRITE ยท creates data ยท Items ยท POST /items/
Create item
Endpoint for creating a new item.
Not idempotent โ calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. |