Parameters

variant_type
dictionary
name
string
active
boolean
values
array
PUT/products/v1/variant_types/{{variant_type_id}}
curl https://api.tradly.app/products/v1/variant_types/{{variant_type_id}} \
  -H "Authorization: Bearer YOUR_PUBLISHABLE_OR_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -X PUT \
  -d '{
  "variant_type": {
    "name": "Color",
    "active": true,
    "values": [
      "Blue",
      "White"
    ]
  }
}'
RESPONSE
{
  "status": true,
  "data": {
    "variant_type": {
      "id": 1
    }
  }
}