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
Output data:
A sample request in PHP:
manufacturer_id | int | Manufacturer ID provided in case of an update. Should be blank when creating a new manufacturer. |
name | varchar(200) | Manufacturer name |
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 |
manufacturer_id | int | ID of a created or updated manufacturer |
Sample
Input data:Output data:
A sample request in PHP: