PUT
/
purchases
/
:id
/
tags
curl https://api.thanxsandbox.com/purchases/wourhfiwer/tags \
  -X PUT \
  $STANDARD_HEADERS
  -d '{
    "tag": {
      "key": "server_satisfaction",
      "values": [
        "10"
      ]
    }
  }'
{
  "tag": {
    "id": "werwerr",
    "purchase_id": "wourhfiwer",
    "key": "server_satisfaction",
    "values": [
      "10"
    ]
  }
}

Parameters

purchase_id
string
required

The id of the purchase

key
string
required

Tag key

values
array(string)
required

Array of attributes tags

Response

id
string

The ID of the tier status record

purchase_id
string

Purchase ID

key
string

Tag key

values
array(string)

Array of attribute tags