> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# `POST /api/v1/inventory/:sku/adjust`

> `POST /api/v1/inventory/:sku/adjust`

### Path parameters

<ParamField path="sku" type="string" required>
  Product SKU
</ParamField>

### Request body

`InventoryAdjustRequest`

<ParamField body="location_id" type="integer,null (int32)">
  Deprecated: location-scoped adjustments are not supported by this endpoint.

  Supplying this field will return a validation error.
</ParamField>

<ParamField body="quantity" type="string" required>
  Signed quantity change (+/−).
</ParamField>

<ParamField body="reason" type="string" required>
  Reason for the adjustment.
</ParamField>

### Responses

<ResponseField name="200" type="InventoryResponse">
  Stock adjusted
</ResponseField>

<ResponseField name="404" type="ErrorBody">
  SKU not found
</ResponseField>

<ResponseField name="422" type="ErrorBody">
  Validation error
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --request POST \
    --url 'https://api.stateset.com/api/v1/inventory/{sku}/adjust' \
    --header 'Authorization: Bearer YOUR_API_KEY' \
    --header 'Content-Type: application/json' \
    --data '{
    "location_id": null,
    "quantity": "string",
    "reason": "string"
  }'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "name": "string",
    "sku": "string",
    "total_allocated": "string",
    "total_available": "string",
    "total_on_hand": "string"
  }
  ```
</ResponseExample>
