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

Scope required: tags.read

This endpoint returns all tags for the given user.

Parameters

merchant_id
string
required

Filter tags by Merchant ID

user_id
string

Filter tags by Merchant ID

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, on string tags are supported. Support for additional data types will be added in 1H 2024.