GET
/
tags
curl --request GET \
  --url https://api.thanx.com/tags \
  --header 'Authorization: Bearer <token>'
{
  "tags": [
    {
      "id": "92b7b0dac4",
      "user_id": "werofsdf",
      "merchant_id": "weroif",
      "key": "allergens",
      "values": ["gluten", "soy", "dairy"]
    }
  ]
}

Parameters

merchant_id
string

Only return tags for this merchant

Response

id
string

Tag ID

user_id
string

User ID

merchant_id
string

Merchant ID

key
string

Tag key

values
array(string)

Array of attribute tags. Currently, only string tags are supported.

{
  "tags": [
    {
      "id": "92b7b0dac4",
      "user_id": "werofsdf",
      "merchant_id": "weroif",
      "key": "allergens",
      "values": ["gluten", "soy", "dairy"]
    }
  ]
}