Add trait
Authorizations
Path parameters
token_idstringRequired
the token id
Body
trait_valuestringRequired
value of the trait
trait_namestringRequired
name of the trait
Responses
200
Successful response
application/json
post
POST /partner-api/tokens/{token_id}/add-trait HTTP/1.1
Host:
X-API-Key: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 42
"trait_value='text'&trait_name='text'"
200
Successful response
{
"token_id": "text",
"image": "text",
"traits": [
{
"name": "text",
"value": "text"
}
]
}