Parameters
attribute
dictionary
name
string
field_type
number
optional
boolean
active
boolean
type
string
category_id
array
private
boolean
attribute_group_id
number
PUT/v1/attributes/{{attribute_id}}
bash
curl https://api.tradly.app/v1/attributes/{{attribute_id}} \
-H "Authorization: Bearer YOUR_PUBLISHABLE_OR_SECRET_KEY" \
-H "Content-Type: application/json" \
-X PUT \
-d '{
"attribute": {
"name": "Capacity",
"field_type": 1,
"optional": false,
"active": true,
"type": "listings",
"category_id": [
262
],
"private": true,
"attribute_group_id": 2
}
}'RESPONSE
json
{
"status": true,
"data": {
"attribute": {
"id": 1
}
}
}