Adjust stock
POST /v2/inventory/stock records a manual movement — a correction, an opening balance, damage, or an internal transfer:
action—inadds stock,outremoves itproduct_id— your item ID, the same one used in documentswarehouse_id— from Get all warehouses; use-1for the default warehouserecord_date— optionalDD-MM-YYYYbackdate for the movement
INSUFFICIENT_STOCK — see Error codes.
React to movements in real time
Enable theinventory webhook and Swipe calls your endpoint on every stock movement — API, dashboard, or document-driven — with the product, quantity, and direction:
partner_product_id is -1 when the product isn’t mapped to one of your IDs yet — see ID mapping.
Endpoints
Inventory stock in/out
Record a manual stock movement.
Get all warehouses
List warehouse IDs for stock operations.

