GET api/v1/{companyId}/stockBalance?page={page}&pageSize={pageSize}&modifiedAfter={modifiedAfter}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyId | string |
Required |
|
| page | integer |
Default value is 0 |
|
| pageSize | integer |
Default value is 100 |
|
| modifiedAfter | date |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of StockBalanceModel| Name | Description | Type | Additional information |
|---|---|---|---|
| WarehouseId | integer |
None. |
|
| ProductId | string |
None. |
|
| QuantityInStock | decimal number |
None. |
|
| LastModified | date |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"WarehouseId": 1,
"ProductId": "sample string 2",
"QuantityInStock": 1.0,
"LastModified": "2025-12-15T21:50:27.4749633+01:00"
},
{
"WarehouseId": 1,
"ProductId": "sample string 2",
"QuantityInStock": 1.0,
"LastModified": "2025-12-15T21:50:27.4749633+01:00"
}
]
application/xml, text/xml
Sample:
<ArrayOfStockBalanceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TreeOfPets.LitiumIntegration.Api.Models">
<StockBalanceModel>
<LastModified>2025-12-15T21:50:27.4749633+01:00</LastModified>
<ProductId>sample string 2</ProductId>
<QuantityInStock>1</QuantityInStock>
<WarehouseId>1</WarehouseId>
</StockBalanceModel>
<StockBalanceModel>
<LastModified>2025-12-15T21:50:27.4749633+01:00</LastModified>
<ProductId>sample string 2</ProductId>
<QuantityInStock>1</QuantityInStock>
<WarehouseId>1</WarehouseId>
</StockBalanceModel>
</ArrayOfStockBalanceModel>