How to update the dimensions on a product that already exists?

I am doing contract work involving Veeqo and I need to be able to update the dimensions of a sellable on an existing product in order to ship it correctly. The documentation for “Update Product Detail” and “Update Property Detail” are vague and I need to get this working as soon as I can. Any help?

Hey @ahelv,

I took a look on my account at using the Update Product Detail endpoint and I was able to change the dimensions/weight of a sellable on an existing product.

Here’s the payload I used as an example:

PUT /products/{product_id}
{
  "product": {
    "product_variants_attributes": [
      {
        "id": {sellable_id},
        "weight_unit": "oz",
        "weight": 6,
        "measurement_attributes": {
            "width": 10,
            "height": 10,
            "depth": 10,
            "dimensions_unit": "inches"
        }
      }
    ]
  }
}

If this works for you, please mark this message as a solution so that other developers can use it as a reference. If you are still having trouble then contact Veeqo Support via the support messenger in the Veeqo app or contacting helpme@support.veeqo.com

Hope this helps,
Alex - Veeqo

1 Like