Retrieving Product Tag Data

Follow

Retrieve a list of all Tags

Call

GET /rest/tags.json

Response

{
   "success":"1",
   "status":"Tags successfully retrieved",
   "tags":[
      {
         "id":"1",
         "name":"Small"
      },
      {
         "id":"2",
         "name":"Medium"
      },
      {
         "id":"3",
         "name":"Large"
      },
      {
         "id":"4",
         "name":"Extra Large"
      },
      {
         "id":"5",
         "name":"Blue"
      },
      {
         "id":"6",
         "name":"Yellow"
      }
   ]
}

Retrieve the details for one Tag

Pass the tag id you wish to fetch the properties for along with the URL.

Call

GET /rest/tags/{id}.json

Response

{
   "success":"1",
   "status":"Details for Tag id  1",
   "tag":{
      "id":"1",
      "name":"Small"
   }
}
Have more questions? Submit a request

Comments

Powered by Zendesk