---
title: "Changes to Modify an existing Product Variant."
method: PUT
path: "/products/{id}/variants/{variant_id}.json"
---

# Changes to Modify an existing Product Variant.

`PUT /products/{id}/variants/{variant_id}.json`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 12 revisions.

- **2026-10-15** `53dc9f2c1329`: 5 breaking, 2 warning, 10 info
- **2026-09-28** `6d9bc2d4601a`: 2 info

## Changes

- **2026-10-15** `53dc9f2c1329`: 5 breaking, 2 warning, 10 info
  - the request property `variant/options/items/name` became required
  - the request property `variant/options/items/value` became required
  - the response property `variant/compare_at_price` became nullable for the status `200`
  - the response property `variant/cost_per_item` became nullable for the status `200`
  - the response property `variant/options/items/custom` became nullable for the status `200`
  - removed the request property `variant/options/items/product_option_position`
  - removed the request property `variant/options/items/product_value_position`
  - added the new optional `query` request parameter `fields`
  - added the new optional request property `variant/weight`
  - the `option_type` request property default value `option` was added
  - the `barcode` request property default value `123456` was removed
  - the `stock` request property default value `100` was removed
  - added the optional property `variant/discount` to the response with the `200` status
  - added the optional property `variant/options/items/product_option_id` to the response with the `200` status
  - added the optional property `variant/options/items/product_option_value_id` to the response with the `200` status
  - added the optional property `variant/position` to the response with the `200` status
  - added the optional property `variant/weight` to the response with the `200` status
- **2026-09-28** `6d9bc2d4601a`: 2 info
  - added the optional property `variant/created_at` to the response with the `200` status
  - added the optional property `variant/updated_at` to the response with the `200` status

---

[Operation](https://skmtc.dev/jumpseller/apis/jumpseller-api/docs/products/:id/variants/:variant_id.json/put.md) - [API](https://skmtc.dev/jumpseller/apis/jumpseller-api.md) - [Page](https://skmtc.dev/jumpseller/apis/jumpseller-api/changes/products/:id/variants/:variant_id.json/put)
