curl --request POST \
--url 'https://api.stateset.com/api/v1/warehouse-bins/adjust' \
--header "Authorization: Bearer $STATESET_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"bin_id": 1001,
"performed_by": "string",
"quantity": "string",
"reason": "Two-person tent, green — replacement for damaged pole set.",
"reference_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"reference_type": "string",
"sku": "SKU-TENT-2P-GRN"
}'
{
"bin_id": 1001,
"quantity_allocated": "string",
"quantity_available": "string",
"quantity_on_hand": "string",
"sku": "SKU-TENT-2P-GRN",
"updated_at": "2026-08-31T14:22:05Z",
"warehouse_id": 1001
}
Adjust a bin
Adjust a bin
POST
/
api
/
v1
/
warehouse-bins
/
adjust
curl --request POST \
--url 'https://api.stateset.com/api/v1/warehouse-bins/adjust' \
--header "Authorization: Bearer $STATESET_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"bin_id": 1001,
"performed_by": "string",
"quantity": "string",
"reason": "Two-person tent, green — replacement for damaged pole set.",
"reference_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"reference_type": "string",
"sku": "SKU-TENT-2P-GRN"
}'
{
"bin_id": 1001,
"quantity_allocated": "string",
"quantity_available": "string",
"quantity_on_hand": "string",
"sku": "SKU-TENT-2P-GRN",
"updated_at": "2026-08-31T14:22:05Z",
"warehouse_id": 1001
}
Request body
AdjustBinLevelRequest
integer (int32)
required
string,null
string
required
Signed decimal quantity as a string (positive adds, negative removes). The same delta is applied to warehouse-level stock atomically.
string
required
string,null
string,null
string
required
Response
BinLevelResponse
integer (int32)
required
string
required
string
required
string
required
string
required
string
required
integer (int32)
required
Status codes
| Code | Meaning |
|---|---|
200 | — |
400 | — |
404 | — |
curl --request POST \
--url 'https://api.stateset.com/api/v1/warehouse-bins/adjust' \
--header "Authorization: Bearer $STATESET_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"bin_id": 1001,
"performed_by": "string",
"quantity": "string",
"reason": "Two-person tent, green — replacement for damaged pole set.",
"reference_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"reference_type": "string",
"sku": "SKU-TENT-2P-GRN"
}'
{
"bin_id": 1001,
"quantity_allocated": "string",
"quantity_available": "string",
"quantity_on_hand": "string",
"sku": "SKU-TENT-2P-GRN",
"updated_at": "2026-08-31T14:22:05Z",
"warehouse_id": 1001
}
Last modified on August 31, 2026