getInventoryPriceGroups
The method allows to retrieve price groups existing in BaseLinker storage
Input parameters
Output data:
A sample request in PHP:
Output data
The method returns the data in JSON format.
status | varchar(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_groups | array | An array of available price group identifiers |
| - price_group_id | int | Price group identifier |
| - name | varchar(100) | Name of the price group |
| - description | text | Price group description |
| - currency | int | 3-letter currency symbol e.g. PLN, EUR |
| - is_default | bool | Flag indicating whether the price group is default |
Sample
Input data:Output data:
A sample request in PHP: