Skip to main content
PUT
/
purchases
/
:id
/
tags
curl https://api.thanxsandbox.com/purchases/wourhfiwer/tags \
  -X PUT \
  -H "Content-Type: application/json"  \
  -H "Accept-Version: v4.0" \
  -H "Accept: application/json" \
  -H "X-ClientId: ${client_id}"
  -d '{
    "tag": {
      "key": "server_satisfaction",
      "values": [
        "10"
      ]
    }
  }'
{
  "tag": {
    "id": "werwerr",
    "purchase_id": "wourhfiwer",
    "key": "server_satisfaction",
    "values": [
      "10"
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.thanx.com/llms.txt

Use this file to discover all available pages before exploring further.

Please review proper request headers here.

Parameters

id
string
required
Purchase ID
key
string
required
Tag key
values
array(string)
required
Array of attributes tags

Response

id
string
Tag ID
purchase_id
string
Purchase ID
key
string
Tag key
values
array(string)
Array of attribute tags
curl https://api.thanxsandbox.com/purchases/wourhfiwer/tags \
  -X PUT \
  -H "Content-Type: application/json"  \
  -H "Accept-Version: v4.0" \
  -H "Accept: application/json" \
  -H "X-ClientId: ${client_id}"
  -d '{
    "tag": {
      "key": "server_satisfaction",
      "values": [
        "10"
      ]
    }
  }'
{
  "tag": {
    "id": "werwerr",
    "purchase_id": "wourhfiwer",
    "key": "server_satisfaction",
    "values": [
      "10"
    ]
  }
}