# Retrieve a variant

Only available to Buyer Users.

Endpoint: GET /me/products/{productID}/variants/{variantID}
Version: 1.0.457.36910
Security: OAuth2

## Security:

  - `OAuth2` (unknown)
    oauth2 scopes: FullAccess, OrderContributor, Shopper

## Path parameters:

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

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

## Response 200:

  - `200` (unknown)
    Only available to Buyer Users.

## 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)

  - `Specs` (array)

  - `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)

## Response 4XX:

  - `4XX` (unknown)
    Expected errors range from 400-409. Anything in the 5XX range indicates a server issue and should be reported to support.

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

  - `StatusCode` (integer)
    Example: 404

  - `ErrorCode` (string)
    Example: NotFoundError

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

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

