Most of our content is Publicly accessible. However some content is Private and you will be asked to create an account the first time you try to access this content.
Private content is only available to our existing customers.

GET /Recommendations/productDescriptions/tags

Prev Next

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

  1. Refresh the tag list before validating or mapping Product Describer output.
  2. Use id as the stable tag identifier and keep attributeType together with attributeValue when presenting the tag.

Common pitfalls

  1. Assuming an attributeValue is unique across all attribute types.
  2. Reusing a tag list retrieved for a different environment.
  3. Treating tag identifiers as product or style identifiers.

TECHNICAL INFORMATION

Authentication

Bearer token, information on page POST /Token

Headers

NameDescriptionExample
X-TenantEnvironment code supplied by WAIRENVIRONMENT

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. The tags array 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

FieldDescription
tagsProduct Describer taxonomy tags available for your environment.
idUnique numeric identifier of the tag.
attributeTypeTaxonomy attribute to which the value belongs.
attributeValueAllowed value for the taxonomy attribute.