Skip to main content

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.

GEThttps://api-fulfillment.bosta.co/api/v1/inventory/products

Retrieve all products. Supports pagination and filtering via query parameters.

Responses

200List of products retrieved successfully
 {
"success": true,
"message": "Products retrieved successfully",
"data": [
{
"id": "65a54c...",
"name": "T-shirt",
"skuCode": "small-b",
"price": 99.99,
"itemValue": 75,
"availableQuantity": 2,
"source": "shopify",
"quantityOnHand": 14,
"quantityLocationFailInventorySum": 0,
"quantityReserved": 11,
"quantityBackstorage": 0,
"quantitySafetyStock": 0,
"quantityAvailableToPromiseWithBackstorage": 0,
"isActive": true,
"weight": 505,
"dimensions": {
"length": 11,
"width": 10,
"height": 10
},
"images": [
{
"url": "https://cdn.futura-sciences.com/..."
}
],
"createdAt": "2026-01-15T12:00:00.000Z"
}
],
"meta": {
"total": 120,
"page": 1,
"limit": 10
}
}

Query Parameters​

ParameterTypeDescription
pagenumberThe page number to retrieve (Default: 1).
limitnumberNumber of items per page (Default: 10, Max: 100).
searchstringFilter products by name or SKU code.
isActivebooleanFilter 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​

FieldTypeDescription
pricenumberThe selling price of the product.
itemValuenumberThe 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​

FieldDescription
availableQuantityNet quantity currently available for new orders. Calculated as quantityOnHand - quantityReserved.
quantityOnHandTotal physical stock present in the warehouse, regardless of reservations or storage type.
quantityReservedQuantity already allocated to pending or confirmed orders but not yet shipped.
quantityBackstorageQuantity stored in back storage areas, not immediately accessible for picking.
quantitySafetyStockMinimum buffer stock maintained to prevent stockouts. The product is flagged as low stock when availableQuantity falls below this value.
quantityAvailableToPromiseWithBackstorageAvailable quantity including back storage stock — the maximum quantity that can be promised to customers across all storage locations.
quantityLocationFailInventorySumQuantity recorded at storage locations that have failed inventory checks or audits.