API documentation
Method list
Test your request
Changelog
getInventoryTags
The method allows you to retrieve a list of tags for a BaseLinker catalog.
Input parameters
Output data
The method returns the data in JSON format.
tags
array
A list containing available tags.
Sample
Input data:
{}
Output data:
{ "status": "SUCCESS", "tags": [ { "name": "Summer" }, { "name": "Winter" } ] }
A sample request in PHP:
"getInventoryTags", "parameters" => $methodParams ]; $curl = curl_init("https://api.baselinker.com/connector.php"); curl_setopt($curl, CURLOPT_POST, 1); curl_setopt($curl, CURLOPT_HTTPHEADER, ["X-BLToken: xxx"]); curl_setopt($curl, CURLOPT_POSTFIELDS, http_build_query($apiParams)); $response = curl_exec($curl);