# Increase stock by 50 units curl -X POST https://api.contazen.ro/v1/products/prd_abc123def/stock \ -H "Authorization: Bearer sk_live_YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "adjustment": 50, "reason": "New shipment received", "reference": "PO-2024-089" }' # Decrease stock by 10 units curl -X POST https://api.contazen.ro/v1/products/prd_abc123def/stock \ -H "Authorization: Bearer sk_live_YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "adjustment": -10, "reason": "Damaged items removed" }'
{ "success": true, "data": { "id": "prd_abc123def", "name": "Premium Widget", "previous_stock": 100, "adjustment": 50, "new_stock": 150, "reason": "New shipment received", "adjusted_at": "2024-01-15T10:30:00Z" } }
Adjust the stock level of a product
Show properties
Was this page helpful?