List Products API
This endpoint retrieves a paginated list of all products registered in your inventory. You can use this to sync your local database or display available products in your admin dashboard.
GET
https://api-fulfillment.bosta.co/api/v1/inventory/productsRetrieve all products. Supports pagination and filtering via query parameters.
Responses
200List of products retrieved successfully
Query Parameters
| Parameter | Type | Description |
|---|---|---|
| page | number | The page number to retrieve (Default: 1). |
| limit | number | Number of items per page (Default: 10, Max: 100). |
| search | string | Filter products by name or SKU code. |
| isActive | boolean | Filter by active or inactive products. |
Pagination Strategy
To handle large catalogs, this API uses metadata-based pagination. Always check the meta object in the response to calculate the total number of pages:
totalPages = Math.ceil(meta.total / meta.limit)
Product Fields
| Field | Type | Description |
|---|---|---|
| price | number | The selling price of the product. |
| itemValue | number | The cost of a single item (always greater than 0 and less than price). Shown as Item Value in the Fulfillment Dashboard. For Shopify products, this is the Shopify Cost per item. |
Quantity Fields
| Field | Description |
|---|---|
| availableQuantity | Net quantity currently available for new orders. Calculated as quantityOnHand - quantityReserved. |
| quantityOnHand | Total physical stock present in the warehouse, regardless of reservations or storage type. |
| quantityReserved | Quantity already allocated to pending or confirmed orders but not yet shipped. |
| quantityBackstorage | Quantity stored in back storage areas, not immediately accessible for picking. |
| quantitySafetyStock | Minimum buffer stock maintained to prevent stockouts. The product is flagged as low stock when availableQuantity falls below this value. |
| quantityAvailableToPromiseWithBackstorage | Available quantity including back storage stock — the maximum quantity that can be promised to customers across all storage locations. |
| quantityLocationFailInventorySum | Quantity recorded at storage locations that have failed inventory checks or audits. |