curl --silent --show-error --fail-with-body --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": "2",
"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 --silent --show-error --fail-with-body --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": "2",
"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"
}
Confirm your deployment before running this request. This page describes an API contract;
a published reference does not establish hosted availability. Check the dated
host report and obtain your deployment URL and credentials.
Replace the example host if your provisioned service uses a different URL.
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 |
Using this contract
Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.curl --silent --show-error --fail-with-body --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": "2",
"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 September 21, 2026