Get Inventories

Endpoint

GET /inventories

Authentication

Required: Authorization header with valid token

Query Parameters

ParameterTypeRequiredDescriptionExample
searchstringNoSearch by title or ID number (case-insensitive)Excavator
productIduuidNoFilter by specific product123e4567-e89b-12d3-a456-426614174000
sortBystringNoField to sort byupdatedAt
sortDirectionstringNoSort direction (ASC or DESC)DESC
idsstringNoComma-separated list of inventory IDs to filteruuid1,uuid2
fieldsstringNoComma-separated list of fields to selecttitle,idNumber
warehouseIdsstringNoComma-separated warehouse IDs to filter stock calculationsuuid1,uuid2
externalIdstringNoFilter by external identifierexternal-inventory-123
pagenumberNoPage number (default: 1)1
limitnumberNoItems per page (default: 20)20
expandstringNoExpand entity with passed comma separated relation entitiesstocks

Response

Success (200)

{
  "content": [
    "InventoryEntity"
  ],
  "total": "number"
}

Response Field Descriptions:

  • content - Array of inventory objects (InventoryEntity Schema)
  • total - Total number of inventories matching the query criteria

Error

See Error Schema documentation

Example Usage

Bash

curl -X GET "https://integration-api.ram.syniotec.com/master-data/v1/inventory-management/inventories" \
 -H "Authorization: Bearer YOUR_TOKEN"