Inventory counts
Get all inventory counts
Retrieve all inventory count sessions.Response
Unique count identifier
Name of the inventory count
Type:
FULL, CYCLE, SPOT, or ANNUALWhen count was started
When count was completed
Status:
IN_PROGRESS, COMPLETED, or CANCELLEDNumber of items counted
Number of items with discrepancies
Total value of missing inventory
Total value of excess inventory
Net variance in inventory value
Start inventory count
Begin a new inventory count session. Only managers can start counts.Request body
Name for this count session
Type:
FULL, CYCLE, SPOT, or ANNUALAdditional notes
Example request
Validation
- Only one inventory count can be in progress at a time
- Only managers can start inventory counts
Get inventory count by ID
Retrieve details of a specific count.Add count item
Record the counted quantity for a product.Path parameters
Inventory count ID
Request body
Product being counted
Specific batch being counted (optional)
Actual quantity counted
Reason for discrepancy
Additional notes
Example request
Response
The system automatically:- Compares counted quantity with system quantity
- Calculates variance (positive or negative)
- Calculates variance value based on product cost
- Logs significant discrepancies for review
Get count items
Retrieve all items counted in a session.Complete inventory count
Finalize a count session and optionally apply adjustments.Path parameters
Inventory count ID
Request body
Whether to apply stock adjustments
Notes about completion
Example request
applyAdjustments is true:
- Product stock quantities are updated to match counted quantities
- Automatic stock adjustment records are created
- All adjustments are pre-approved
Cancel inventory count
Cancel an in-progress count.Get inventory summary
Get aggregated statistics for inventory counts.Query parameters
Filter from date (ISO 8601)
Filter to date (ISO 8601)
Stock adjustments
Get stock adjustments
Retrieve stock adjustment records.Query parameters
Filter from date (ISO 8601)
Filter to date (ISO 8601)
Filter by product ID
Response
Adjustment ID
Product adjusted
Type:
DAMAGE, THEFT, EXPIRED, FOUND, CORRECTION, or RETURNChange in quantity (positive or negative)
Stock quantity before adjustment
Stock quantity after adjustment
Reason for adjustment
Financial impact of adjustment
Whether approval is required
Whether adjustment is approved
Create stock adjustment
Create a manual stock adjustment.Request body
Product to adjust
Type:
DAMAGE, THEFT, EXPIRED, FOUND, CORRECTION, or RETURNChange in quantity (use negative for decreases)
Reason for adjustment
Additional notes
Reference number (e.g., damage report ID)
Example request
Approval workflow
Adjustments require manager approval when:- Absolute quantity change > 50 units
- Absolute cost impact > $500
- Adjustment type is
THEFT
Get pending approvals
Get adjustments awaiting manager approval.Approve adjustment
Approve a pending stock adjustment. Only managers can approve.Path parameters
Adjustment ID to approve
Request body
Notes about approval
Example request
Get product adjustments
Get all adjustments for a specific product.Path parameters
Product ID