Fulfilment
//Adjust Stock
Applies a manual correction to one bucket of one SKU. quantity_change is a delta, positive or negative, not a new total, and the change is recorded as an inventory movement.
Use it to write off damage found after receipt, to correct a count, or to move stock to QC hold. Do not use it to load opening stock: stock arrives through an inbound. The SKU must already have an inventory record, and a change that would take a bucket below zero is rejected.
Security
BearerAuth or OAuth2
The bucket to adjust: available, damaged, reserved or qc_hold. Required.
Enum:"available""damaged""reserved""qc_hold"
The change to apply, positive to add and negative to remove. Not a new total. Required, not 0.
Why: damage, correction, write_off, qc_fail or other. Required.
Enum:"damage""correction""write_off""qc_fail""other"
- Productionhttps://platform-api.quiqup.com/api/fulfilment/inventory/adjustments
- Staginghttps://platform-api.staging.quiqup.com/api/fulfilment/inventory/adjustments
curl -i -X POST \
https://platform-api.quiqup.com/api/fulfilment/inventory/adjustments \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"bucket": "damaged",
"notes": "Three units destroyed after inspection",
"quantity_change": -3,
"reason": "write_off",
"sku": "TSHIRT-BLK-M"
}'Success response
Response
{ "available": 180, "damaged": 2, "qc_hold": 0, "reserved": 10, "sku": "TSHIRT-BLK-M", "total": 192 }