Inventory Items
Schema​
InventoryItem​
| Name | Type | Description | Example |
|---|---|---|---|
| id | ID | Unique identifier for inventory items | "ckmnpybisiy5x08abky4g2d1f" |
| createdAt | DateTime | When this inventory item was created | "2021-03-24 17:26:46.983Z" |
| updatedAt | DateTime | When this inventory item was updated | "2021-03-24 17:26:46.983Z" |
| catalogSource | String? | The source of the catalog item | "" |
| description | String? | Description of the inventory item | "" |
| unitPrice | Float? | The price of the inventory item | 0 |
| unitsOfMeasure | String? | The unit of measure for the inventory item | "" |
| mpn | String? | The manufacturer part number of the inventory item | "" |
| upc | String? | The universal product code of the inventory item | "" |
REST Endpoints​
GET /inventory-items​
Read the list of inventory items
Accepts all standard pagination parameters.
Allowed orderBy fields: createdAt, id, updatedAt.
Allowed filter fields: createdAt, id, catalogId, catalogSource, mpn, upc, updatedAt.
Response​
A list of Inventory Item objects.
Example Request​
GET https://api.kojo.tech/inventory-items
Example Response​
[
{
"id": "clku7gtqt000cpwtzv6e971xg",
"createdAt": "2021-03-24 17:26:46.983Z",
"updatedAt": "2021-03-24 17:26:46.983Z",
"catalogSource": "",
"description": "3/4\" EMT",
"unitPrice": null,
"unitsOfMeasure": "in",
"mpn": null,
"upc": null,
}
]