# Partially update a product variant

Endpoint: PATCH /products/{productID}/variants/{variantID}
Version: 1.0.445.36017
Security: OAuth2

## Path parameters:

  - `productID` (string, required)
    ID of the product.

  - `variantID` (string, required)
    ID of the variant.

## Request fields (application/json):

  - `ID` (string)

  - `Name` (string)

  - `Description` (string)

  - `Active` (boolean)
    If false, variant is not visible or purchasable from a buyer's perspective.

  - `ShipWeight` (number)

  - `ShipHeight` (number)

  - `ShipWidth` (number)

  - `ShipLength` (number)

  - `Inventory` (object)
    Example: {"QuantityAvailable":0,"NotificationPoint":0,"LastUpdated":"2018-01-01T00:00:00-06:00"}

  - `Inventory.QuantityAvailable` (integer)

  - `Inventory.NotificationPoint` (integer)

  - `xp` (object)
    Example: {}

## Response 200 fields (application/json):

  - `ID` (string)

  - `Name` (string)

  - `Description` (string)

  - `Active` (boolean)
    If false, variant is not visible or purchasable from a buyer's perspective.

  - `ShipWeight` (number)

  - `ShipHeight` (number)

  - `ShipWidth` (number)

  - `ShipLength` (number)

  - `Inventory` (object)
    Example: {"QuantityAvailable":0,"NotificationPoint":0,"LastUpdated":"2018-01-01T00:00:00-06:00"}

  - `Inventory.QuantityAvailable` (integer)

  - `Inventory.NotificationPoint` (integer)

  - `Inventory.LastUpdated` (string)
    Example: "2018-01-01T00:00:00-06:00"

  - `Specs` (array)
    Example: [{"SpecID":"","Name":"","OptionID":"","Value":"","PriceMarkupType":"NoMarkup","PriceMarkup":0}]

  - `Specs.SpecID` (string)

  - `Specs.Name` (string)

  - `Specs.OptionID` (string)

  - `Specs.Value` (string)

  - `Specs.PriceMarkupType` (string)
    Enum: "NoMarkup", "AmountPerQuantity", "AmountTotal", "Percentage"

  - `Specs.PriceMarkup` (number)

  - `xp` (object)
    Example: {}

## Response 4XX fields (application/json):

  - `StatusCode` (integer)
    Example: "404"

  - `ErrorCode` (string)
    Example: "NotFoundError"

  - `Message` (string)
    Example: "Object not found"

  - `Data` (object)
    Example: {"ObjectType":"","ObjectID":""}


