get
https://www.coohom.com/api/saas/openapi/commodity/tag
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.
Response
| Name | Required | Type | Description |
|---|---|---|---|
| key | true | json | The tag. |
| key.keyId | true | string | The ID of the tag. |
| key.name | true | string | The name of the tag. |
| key.optionAttr | true | int | The attribute of the tag. Valid values: 0 and 1. A 0 value indicates that you can only select one tag item under the tag for a product. A 1 value indicates that you can select multiple tag items under the tag for a product. |
| tags | true | list<json> | The tag items. |
| tags.keyId | true | string | The ID of the tag that contains the tag item. |
| tags.tagId | true | string | The ID o the tag item. |
| tags.name | true | string | The name of the tag item. |
