GENERAL INFORMATION
Purpose
Use this endpoint to retrieve the taxonomy tags available to the Product Describer. Each tag contains an identifier, an attribute type, and an allowed attribute value.
How the data is used
Use the response to map the tags returned with generated product descriptions to the taxonomy configured for your environment.
Best practices
- Refresh the tag list before validating or mapping Product Describer output.
- Use
idas the stable tag identifier and keepattributeTypetogether withattributeValuewhen presenting the tag.
Common pitfalls
- Assuming an
attributeValueis unique across all attribute types. - Reusing a tag list retrieved for a different environment.
- Treating tag identifiers as product or style identifiers.
TECHNICAL INFORMATION
Authentication
Bearer token, information on page POST /Token
Headers
| Name | Description | Example |
|---|---|---|
| X-Tenant | Environment code supplied by WAIR | ENVIRONMENT |
Query parameters
No query parameters required.
Body example
No request body required.
RESPONSE
Status codes
200 OK— The available Product Describer tags were retrieved successfully. Thetagsarray can be empty.401 Unauthorized— The bearer token is missing, expired, or invalid.500 Internal Server Error— An unexpected error occurred while processing the request.
Body example
{
"tags": [
{
"id": 17273,
"attributeType": "occasion",
"attributeValue": "formal"
},
{
"id": 17230,
"attributeType": "pattern",
"attributeValue": "striped"
}
]
}
Field information
| Field | Description |
|---|---|
| tags | Product Describer taxonomy tags available for your environment. |
| id | Unique numeric identifier of the tag. |
| attributeType | Taxonomy attribute to which the value belongs. |
| attributeValue | Allowed value for the taxonomy attribute. |