API documentation
Method list
Test your request

The method allows for bulk update of product prices (and/or variants) in BaseLinker storage. Maximum 1000 products at a time.

Input parameters
storage_idvarchar(30)Storage ID in format "[type:bl|shop|warehouse]_[id:int]" (e.g. "shop_2445").
productsarrayAn array of products. Each product is a separate element of the array. The product consists of a 3 element array of components:
product_id (int) - Product identifier
variant_id (int) - Product variant identifier (0 or no value if the main product is changed, not the variant)
price_brutto (float) - Price gross
price_wholesale_netto (float) - Net wholesale price (not applicable to variants)
tax_rate (float) - VAT tax rate (e.g. "23")
Only one price field can be given (then the second price will not be updated). The VAT rate must always be specified (in case of variants, it is the VAT rate of the main product).

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
counterintNumber of received items.
warningsarrayAn array of warning notices for product updates. The key to each item is the identifier of the sent category, the value is an error message when adding. Only the keys containing errors are returned.

Input data:
Output data:
A sample request in php: