ProductsPrices
The method provides only the prices of the base products and their variants
Input parameters
Incoming as $_POST fields.
POST request:
returned data JSON:
Dane wyjściowe:
page | int | (optional) Page number when pagination occurs. |
Outgoing data
Array fields that the method should return.
products list | array | An array, the key is the product ID, and value is subarray (see below). |
| - variant prices | array | An array where the key is the variant ID (key 0 is for the main product) and value is the gross price for each variant |
pages | int | (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
)
(
[12] => Array
(
[0] => 20.00
)
[13] => Array
(
[0] => 25.99
)
[15] => Array
(
[0] => 9.49
[53] => 9.49
[54] => 11.49
)
[pages] => 9
)