Skip to main content
POST
/
vendor
/
inventory-items
/
{id}
/
location-levels
Create inventory level
curl --request POST \
  --url https://api.example.com/vendor/inventory-items/{id}/location-levels \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "location_id": "<string>",
  "stocked_quantity": 123,
  "reserved_quantity": 123
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The ID of the InventoryItem.

Body

application/json

The inventory level details.

location_id
string

The inventory level locationId.

stocked_quantity
number

The inventory level in stock.

reserved_quantity
number

The quantity reserved from the available stocked_quantity.

Response

201

Ok