API documentation
Method list
Test your request
Changelog


addInventoryManufacturer
The method allows you to add a manufacturer to the BaseLinker catalog. Adding a manufacturer with the same identifier again, updates the previously saved manufacturer


Input parameters
manufacturer_idintManufacturer ID provided in case of an update. Should be blank when creating a new manufacturer.
namevarchar(200)Manufacturer name



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
manufacturer_idintID of a created or updated manufacturer



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