Skip to main content
POST
/
vendor
/
inventory-items
/
location-levels
/
batch
Update inventory item levels
curl --request POST \
  --url https://api.example.com/vendor/inventory-items/location-levels/batch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "create": [
    {
      "inventory_item_id": "<string>",
      "stocked_quantity": 123,
      "location_id": "<string>",
      "incoming_quantity": 123
    }
  ],
  "update": [
    {
      "inventory_item_id": "<string>",
      "stocked_quantity": 123,
      "location_id": "<string>",
      "incoming_quantity": 123
    }
  ],
  "delete": [
    "<string>"
  ]
}
'

Authorizations

Authorization
string
header
required

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

Body

application/json
create
object[]

Levels to create

update
object[]

Levels to update

delete
string[]

Levels to delete

Response

200

Ok