You can call this operation to obtain all product tags set in the management system.
Product tags include tags and tag items.
A tag contains multiple tag items.
After you call this operation, a list is returned with the [tag, N*tag items] format.

API

GET ${API_PREFIX}/commodity/tag
Content-Type: text/plain;charset=utf-8

URL Query Param

Only authentication parameters.

Response

{
  "c": "0",
  "m": "",
  "d": {
    "result": [
      {
        "key": {
          "keyId": "3FO4K4W14J1H",
          "name": "style",
          "optionAttr": 0
        },
        "tags": [
          {
            "keyId": "3FO4K4W14J1H",
            "tagId": "3FO4K4VTKPX2",
            "name": "old"
          },
          {
            "keyId": "3FO4K4W14J1H",
            "tagId": "3FO4K4VTKTA3",
            "name": "Chinese"
          }
        ]
      }
    ]
  }
}
Did this answer your question?