API documentation
Method list
Test your request
Changelog


addInventoryPriceGroup
The method allows to create a price group in BaseLinker storage. Providing a price group ID will update the existing price group. Such price groups may be later assigned in addInventory method.


Input parameters
price_group_idintPrice group identifier
namevarchar(100)Name of the price group
descriptiontextPrice group description
currencychar(3)3-letter currency symbol e.g. PLN, EUR



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_group_idintThe ID number of added or updated price group.



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