curl --request POST \
--url 'https://api.stateset.com/api/v1/inventory/{sku}/adjust' \
--header "Authorization: Bearer $STATESET_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"location_id": 1001,
"quantity": "string",
"reason": "Two-person tent, green — replacement for damaged pole set."
}'
{
"name": "Two-Person Tent",
"sku": "SKU-TENT-2P-GRN",
"total_allocated": "string",
"total_available": "string",
"total_on_hand": "string"
}
Adjust a stock
Adjust a stock
POST
/
api
/
v1
/
inventory
/
{sku}
/
adjust
curl --request POST \
--url 'https://api.stateset.com/api/v1/inventory/{sku}/adjust' \
--header "Authorization: Bearer $STATESET_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"location_id": 1001,
"quantity": "string",
"reason": "Two-person tent, green — replacement for damaged pole set."
}'
{
"name": "Two-Person Tent",
"sku": "SKU-TENT-2P-GRN",
"total_allocated": "string",
"total_available": "string",
"total_on_hand": "string"
}
Path parameters
string
required
Product SKU
Request body
InventoryAdjustRequest
integer,null (int32)
Deprecated: location-scoped adjustments are not supported by this endpoint. Supplying this field will return a validation error.
string
required
Signed quantity change (+/−).
string
required
Reason for the adjustment.
Response
InventoryResponse
string
required
string
required
string
required
string
required
string
required
Status codes
| Code | Meaning |
|---|---|
200 | Stock adjusted |
404 | SKU not found |
422 | Validation error |
curl --request POST \
--url 'https://api.stateset.com/api/v1/inventory/{sku}/adjust' \
--header "Authorization: Bearer $STATESET_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"location_id": 1001,
"quantity": "string",
"reason": "Two-person tent, green — replacement for damaged pole set."
}'
{
"name": "Two-Person Tent",
"sku": "SKU-TENT-2P-GRN",
"total_allocated": "string",
"total_available": "string",
"total_on_hand": "string"
}
Last modified on August 31, 2026