API documentation
Method list
Test your request
Changelog


getInventoryPriceGroups
The method allows to retrieve price groups existing in BaseLinker storage.


Input parameters



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
price_groupsarrayAn array of price group objects
| - price_group_idintPrice group identifier
| - namevarchar(100)Name of the price group
| - descriptiontextPrice group description
| - currencychar(3)3-letter currency symbol e.g. USD, EUR
| - is_defaultboolFlag indicating whether the price group is default
| - price_group_typetextType of the price group
| - source_price_group_idintID of the source price group. 0 when price_group_type is not "dependent_on_price_group".
| - price_multiplierfloatMultiplier applied to source price. 1 for standard groups.
| - price_additionfloatFixed value added to the price after multiplier. 0 for standard groups.
| - is_bundle_price_calculatedboolWhether bundle prices are automatically calculated from components
| - bundle_price_multiplierfloatMultiplier for calculated bundle prices. 1 when bundle calculation is off.
| - bundle_price_additionfloatFixed value added to calculated bundle prices. 0 when bundle calculation is off.



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