Parameters

attribute
dictionary
value
dictionary
POST/v1/attributes/{{attribute_id}}/values
curl https://api.tradly.app/v1/attributes/{{attribute_id}}/values \
  -H "Authorization: Bearer YOUR_PUBLISHABLE_OR_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -X POST \
  -d '{
  "attribute": {
    "value": {
      "name": "6 GB",
      "active": true
    }
  }
}'
RESPONSE
{
  "status": true,
  "data": {
    "attribute": {
      "id": 1
    }
  }
}