name: commerce-inventory
description: Manage inventory counts, adjustments, and stock health. Use when running stateset-inventory, stateset-direct inventory, or checking low-stock and adjustments.
Commerce Inventory
Track stock levels, reservations, and adjustments across locations.
How It Works
- Check stock and availability for SKUs.
- Adjust inventory with a reason code.
- Reserve, confirm, or release stock for orders.
- Report new availability and low-stock signals.
Usage
- CLI:
stateset-inventory ...orstateset-direct inventory <action> - Writes require
--apply. - MCP tools:
get_stock,create_inventory_item,adjust_inventory,reserve_inventory,confirm_reservation,release_reservation.
Output
{"status":"adjusted","sku":"WIDGET-001","available":75}
Present Results to User
- Updated stock levels and reservation status.
- Any low-stock or reorder warnings.
- Reason notes used for adjustments.
Troubleshooting
- Insufficient stock: check reservations and on-hand counts.
- Unknown SKU: ensure the product and inventory item exist.
References
- references/inventory-commands.md
- /home/dom/stateset-icommerce/cli/.claude/skills/commerce-inventory/SKILL.md
- /home/dom/stateset-icommerce/examples/workflows.md