Create item
sosinventory_create_itemWRITE: creates a new inventory item. Optionally books initial stock: SOS then creates an inventory adjustment for the quantity at the given location. Item names must be unique within their category: check sosinventory_list_items first. POST /api/v2/item.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | ||
| name | Yes | Item name. | |
| type | No | Item type (SOS's default applies when omitted). | |
| vendor | No | Default vendor. | |
| barcode | No | ||
| taxable | No | ||
| category | No | Existing category (a category cannot be created here). | |
| description | No | ||
| initial_value | No | Total value of the opening stock. | |
| purchase_cost | No | Purchase cost per unit. | |
| reorder_point | No | ||
| base_sales_price | No | Sales price per unit. | |
| initial_location | No | Location name that receives the opening stock (type=location). | |
| initial_quantity | No | Opening stock. Needs initial_location; SOS books an adjustment for it. | |
| initial_quantity_date | No | Date of the opening stock (YYYY-MM-DDTHH:MM:SS). |