Inventory
Update Inventory Item
Patch an inventory row. Only fields explicitly set in the body are changed. The CHECK constraint (product_id OR name) is enforced at the DB level — clearing both will fail.
patch/v1/inventory/{item_id}
Request
- Base URL: http://localhost:8000
- URL: http://localhost:8000/v1/inventory/{item_id}
- Auth: HTTP bearer
Path parameters
item_idinteger required
Headers
X-API-Keystring nullable
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.