Inventory
Create Inventory Item
Create a new inventory row owned by the caller.
Either product_id or name must be set (Pydantic validates this). If product_id is set, the referenced product must exist; we don't check whether the caller "should" be able to reference it — Partle products are public and any user can mark themselves as owning one.
post/v1/inventory/
Request
- Base URL: http://localhost:8000
- URL: http://localhost:8000/v1/inventory/
- Auth: HTTP bearer
Headers
X-API-Keystring nullable
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 2 revisions of this API.