API documentation
Method list
Test your request
Changelog


getInventoryProductsPrices
The method allows to retrieve the gross prices of products from BaseLinker catalogues.


Input parameters
inventory_idintCatalog ID. The list of identifiers can be retrieved using the method getInventories.
pageint(optional) Results paging (1000 products per page for BaseLinker warehouse)



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
productsarrayA list containing product prices, where the key is the product ID and the value is an array containing the fields listed below.
| - pricesfloatA list where the key is the price group identifier and the value is the gross price set for that price group. The list of price groups can be retrieved using the getInventoryPriceGroups method.
| - variantsarrayA list containing variant prices, where the key is the variant ID. The value is a list where a key is the price group identifier and value is the gross price set for that price group.



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