# Updating Custom Properties for Product Variants

**URL:** <https://developer-forum.veeqo.com/t/updating-custom-properties-for-product-variants/208>\
**Category:** API Queries (How To)\
**Created:** [March 6, 2020, 5:53pm UTC](https://developer-forum.veeqo.com/t/updating-custom-properties-for-product-variants/208 "2020-03-06T17:53:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![crb03](https://yyz1.discourse-cdn.com/flex033/user_avatar/developer-forum.veeqo.com/crb03/32/83_2.png) [@crb03](https://developer-forum.veeqo.com/u/crb03)\
**Post date:** [March 6, 2020, 5:53pm UTC](https://developer-forum.veeqo.com/t/updating-custom-properties-for-product-variants/208/1 "2020-03-06T17:53:12Z")

</div>

I’m trying to update custom properties for product variants using a PUT request to [https://api.veeqo.com/products/product\_id](https://api.veeqo.com/products/product_id).

The product currently has the property “Colour” with the value “Pink”; I’d like to be able to update existing or create new properties.

If I make a simple call to update a variant title, that works, e.g.:

```
{
   "product":{
	  "product_variants_attributes":[
		 {
			"id":35308545,
			"title":"LARGE - Variant Updatedc"
		 }
	  ]
   }
}

```

However, if I make a call like this (`variant_property_specifics` properties copied from the response to a GET [https://api.veeqo.com/products/product\_id](https://api.veeqo.com/products/product_id) request, value changed from “Pink” to “Blue”) I get a 500 / Internal Server Error response:

```
{
   "product":{
	  "product_variants_attributes":[
		 {
			"id":35308545,
			"title":"LARGE - Variant Updateda",
			"variant_property_specifics":[
			   {
				  "id":12845834,
				  "product_specific_id":12545926,
				  "product_property_id":80471,
				  "product_property_name":"Colour",
				  "value":"Blue"
			   }
			]
		 }
	  ]
   }
}

```

Is updating properties unsupported, or do I have an error in my update JSON?
