API documentation
Method list
Test your request
Changelog


getProductsList
The method allows to download detailed data of selected products from the BaseLinker storage or a shop/wholesaler storage connected to BaseLinker.


Input parameters
storage_idvarchar(30)Storage ID in format "[type:bl|shop|warehouse]_[id:int]" (e.g. "shop_2445").
filter_category_idvarchar(30)(optional) Retrieving products from a specific category
filter_sortvarchar(30)(optional) the value for sorting the product list. Possible values: "id [ASC|DESC]", "name [ASC|DESC]", "quantity [ASC|DESC]", "price [ASC|DESC]"
filter_idvarchar(30)(optional) limiting results to a specific product id
filter_skuvarchar(50)(optional) limiting the results to a specific SKU
filter_eanvarchar(320)(optional) limiting results to a specific ean
filter_asinvarchar(50)(optional) limiting results to a specific asin
filter_namevarchar(255)(optional) item name filter
filter_price_fromfloat(optional) minimum price limit
filter_price_tofloat(optional) maximum price limit
filter_quantity_fromint(optional) minimum quantity limit
filter_quantity_toint(optional) maximum quantity limit
filter_availableint(optional) displaying only products marked as available (value 1) or not available (0)
pageint(optional) Results paging (for BaseLinker storage 1000 products per page)



Output data
The method returns the data in JSON format.
statusvarchar(30)SUCCESS - request executed correctly
ERROR - an error occurred during an API request. Error details will be described in 2 additional returned fields: error_message and error_code
storage_idvarchar(30)Storage ID in format "[type:bl|shop|warehouse]_[id:int]" (e.g. "shop_2445").
productsarrayAn array of products containing the fields listed below
| - product_idvarchar(30)The main Product ID.
| - skuvarchar(50)Product SKU number.
| - eanvarchar(50)Product EAN number.
| - asinvarchar(50)Product ASIN number.
| - namevarchar(255)Product name
| - quantityintStock quantity
| - price_bruttofloatProduct gross price



Sample
Input data:
Output data:
A sample request in PHP: