Stock overview
Returns aggregated inventory health metrics across all tracked SKUs. Includes counters, total inventory value, and segmented lists of out-of-stock and low-stock items.
Stock overview › Responses
Stock health overview
successLow stock and out-of-stock alerts
Paginated list of all SKUs at or below their low stock threshold (includes out-of-stock). Sorted: out-of-stock first, then by inventory ascending.
query Parameters
limitoffsetLow stock and out-of-stock alerts › Responses
Paginated alert items
successAdjust stock for a simple product
Applies a signed integer delta to a simple product's inventory and appends a movement log entry.
reason is required for types: ADJUSTMENT_ADD, ADJUSTMENT_REMOVE, OFFLINE_SALE.
Delta sign convention: positive = stock arriving, negative = stock leaving. The server rejects adjustments that would result in negative inventory (HTTP 422).
path Parameters
idProduct ID
Product ID
Adjust stock for a simple product › Request Body
typedeltareasonAdjust stock for a simple product › Responses
Stock adjusted successfully
successStock movement history for a product
Paginated movement log for a product. Use variantId to narrow to a specific variant's history. Results are ordered newest-first.
path Parameters
idProduct ID
Product ID
query Parameters
variantIdlimitoffsetStock movement history for a product › Responses
Paginated movement history
successUpdate low stock threshold for a simple product
Sets the lowStockThreshold for a simple (non-variant) product. When inventory drops at or below this value, the product appears in stock alerts.
path Parameters
idProduct ID
Product ID
Update low stock threshold for a simple product › Request Body
lowStockThresholdUpdate low stock threshold for a simple product › Responses
Threshold updated
successAdjust stock for a product variant
Same semantics as the simple-product adjust endpoint but targets a specific variant. The variantId must belong to productId.
path Parameters
productIdProduct ID
Product ID
variantIdVariant ID
Variant ID
Adjust stock for a product variant › Request Body
typedeltareasonAdjust stock for a product variant › Responses
Variant stock adjusted
successUpdate low stock threshold for a variant
Sets the lowStockThreshold for a specific product variant. The variant must belong to the specified product.
path Parameters
productIdProduct ID
Product ID
variantIdVariant ID
Variant ID
Update low stock threshold for a variant › Request Body
lowStockThresholdUpdate low stock threshold for a variant › Responses
Threshold updated
success