Inventory Item Ledger Sublocations
Schema​
InventoryItemLedgerSublocation​
| Name | Type | Description | Example |
|---|---|---|---|
| id | ID | Unique identifier for inventory item sublocations | "ckmnpybisiy5x08abky4g2d1f" |
| createdAt | DateTime | When this inventory item ledger sublocation was created | "2021-03-24 17:26:46.983Z" |
| updatedAt | DateTime | When this inventory item ledger sublocation was updated | "2021-03-24 17:26:46.983Z" |
| isRoot | boolean | Whether the sublocation is a root sublocation | true |
| quantity | float | Quantity of the item at this sublocation | 100 |
REST Endpoints​
GET /inventory-item-ledger-sublocations​
Read the list of inventory item ledger sublocations
Accepts all standard pagination parameters.
Allowed orderBy fields: createdAt, id, updatedAt.
Allowed filter fields: createdAt, id, isRoot, ledgerId, sublocationId, updatedAt.
Response​
A list of Inventory Item Ledger Sublocation objects.
Example Request​
GET https://api.kojo.tech/inventory-item-ledger-sublocations
Example Response​
[
{
"id": "clku7gtqt000cpwtzv6e971xg",
"createdAt": "2021-03-24 17:26:46.983Z",
"updatedAt": "2021-03-24 17:26:46.983Z",
"isRoot": true,
"quantity": 100,
}
]