Skip to main content

Inventory Item Ledger Sublocations

Schema​

InventoryItemLedgerSublocation​

NameTypeDescriptionExample
idIDUnique identifier for inventory item sublocations"ckmnpybisiy5x08abky4g2d1f"
createdAtDateTimeWhen this inventory item ledger sublocation was created"2021-03-24 17:26:46.983Z"
updatedAtDateTimeWhen this inventory item ledger sublocation was updated"2021-03-24 17:26:46.983Z"
isRootbooleanWhether the sublocation is a root sublocationtrue
quantityfloatQuantity of the item at this sublocation100

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,
}
]