---
updatedAt: 2026-06-19T16:07:00.000Z
---

# Update Product Variant (Jumpseller)

<p>Updates the information of an already existing product variant<br></p>

<b>Important information:<br><b/>
	<b><ul><li><a href = "https://docs.ecartapi.com/?version=latest#c74ccfa7-f28b-4add-9e88-4616396fa042"> The product's ID must exist</a></li>
	<li><a href = "https://docs.ecartapi.com/?version=latest#3b6d23ed-9a87-4a6c-9782-d75ac198557e"> The variant ID must be linked to the product.</a></li></ul></b>

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.0.0",
    "title": "Jumpseller"
  },
  "servers": [
    {
      "url": "https://api.ecartapi.com/api/v2"
    }
  ],
  "paths": {
    "/products/{productId}/variants/{variantId}": {
      "put": {
        "summary": "Update Product Variant (Jumpseller)",
        "description": "<p>Updates the information of an already existing product variant<br></p>\n\n<b>Important information:<br><b/>\n\t<b><ul><li><a href = \"https://docs.ecartapi.com/?version=latest#c74ccfa7-f28b-4add-9e88-4616396fa042\"> The product's ID must exist</a></li>\n\t<li><a href = \"https://docs.ecartapi.com/?version=latest#3b6d23ed-9a87-4a6c-9782-d75ac198557e\"> The variant ID must be linked to the product.</a></li></ul></b>",
        "operationId": "update_products_variant_jumpseller",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": true
                    },
                    "variant": {
                      "type": "object"
                    }
                  }
                },
                "examples": {
                  "OK": {
                    "summary": "OK",
                    "value": {
                      "success": true,
                      "variant": {
                        "id": "11754587",
                        "productId": null,
                        "name": null,
                        "price": "22",
                        "sku": "XS7890",
                        "imageId": null,
                        "fulfillmentService": null,
                        "option1": "xxs",
                        "option2": null,
                        "option3": null,
                        "dimensions": {
                          "width": null,
                          "height": null,
                          "length": null,
                          "weight": "1"
                        },
                        "units": {
                          "width": null,
                          "height": null,
                          "length": null,
                          "weight": null
                        },
                        "inventory": {
                          "itemId": null,
                          "quantity": "100"
                        },
                        "requireShipping": null,
                        "dates": {
                          "createdAt": null,
                          "updatedAt": null
                        },
                        "sellOutStock": "true"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Authorization": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "productId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the product."
          },
          {
            "in": "path",
            "name": "variantId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the variant."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "variant": {
                    "type": "object",
                    "properties": {
                      "sku": {
                        "type": "string"
                      },
                      "price": {
                        "type": "string"
                      },
                      "inventory": {
                        "type": "object"
                      }
                    }
                  }
                }
              },
              "examples": {
                "New Example": {
                  "summary": "New Example",
                  "value": {
                    "variant": {
                      "price": "22",
                      "sku": "XS7890",
                      "inventory": {
                        "quantity": "100"
                      },
                      "option1": "xxs"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "Authorization": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "description": "Used to authenticate API requests after completing the store authorization or integration process. The access_token is generated once the e-commerce store grants access and must be included in every request header to validate the authorized connection."
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "security": [
    {
      "Authorization": []
    }
  ]
}
```