Documentation of the shops data exchange protocol - baselinker.com
Function list
Tests
ChangeLog


ProductsPrices
The method provides only the prices of the base products and their variants


Input parameters
Incoming as $_POST fields.
pageint(optional) Page number when pagination occurs.



Outgoing data
Array fields that the method should return.
products listarrayAn array, the key is the product ID, and value is subarray (see below).
| - variant pricesarrayAn array where the key is the variant ID (key 0 is for the main product) and value is the gross price for each variant
pagesint(optional) number of pages. We recommend 1000 results on 1 page. The limit is 1000 pages.



Example:
Input data:

POST request:


returned data JSON:
{"12":["20.00"],"13":["25.99"],"15":{"0":"9.49","53":"9.49","54":"11.49"},"pages":9}

Dane wyjściowe:
Array
(
    [12] => Array
        (
            [0] => 20.00
        )

    [13] => Array
        (
            [0] => 25.99
        )

    [15] => Array
        (
            [0] => 9.49
            [53] => 9.49
            [54] => 11.49
        )

    [pages] => 9
)