> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: "ShopifyVariant"
description: "The ShopifyVariant type allows Rye's Sell Anything API to manage and display information about specific variants of Shopify products, such as their availability, pricing, and custom options."
---

## Fields

<ParamField path="id" type="ID!" required>
  The unique identifier for the Shopify product variant. This field is required.
</ParamField>

<ParamField path="title" type="String!" required>
  The title of the Shopify product variant. This field is required.
</ParamField>

<ParamField path="image" type={<a href="/api-reference/image">Image!</a>} required>
  The image associated with the Shopify product variant. This field is required.
</ParamField>

<ParamField path="isAvailable" type="Boolean!" required>
  Indicates whether the variant is available to be sold or not. Note that variants with negative inventory may still be available for sale depending on the Shopify variant's inventory policy. This field is required.
</ParamField>

<ParamField path="quantityAvailable" type="Int">
  The quantity of this variant available for purchase. This field will only be populated for integrated Shopify product variants, otherwise it will be `null`.
</ParamField>

<ParamField path="compareAtPrice" type="String!" required>
  The original price of the variant, which can be used to show the current price at a discount against this price.
</ParamField>

<ParamField path="priceV2" type={<a href="/api-reference/price">Price!</a>} required>
  The current price of the product variant.
</ParamField>

<ParamField path="price" type="String!" required deprecated>
  The current price of the product variant.
</ParamField>

<ParamField path="priceCents" type="Int!" required>
  Current price of the product in cents.
</ParamField>

<ParamField path="isShippingRequired" type="Boolean!" required>
  Indicates whether this product requires shipping, which can be used to distinguish between physical and digital products.
</ParamField>

<ParamField path="SKU" type="String!" required>
  The product SKU (Stock Keeping Unit) of the variant.
</ParamField>

<ParamField path="isTaxable" type="Boolean!" required>
  Indicates whether taxes can be applied to this product.
</ParamField>

<ParamField path="weight" type="Int!" required>
  The weight of the product in grams.
</ParamField>

<ParamField path="option1" type="String">
  Additional options available for this product, usually representing extra customizations.
</ParamField>

<ParamField path="option2" type="String">
  Additional options available for this product, usually representing extra customizations.
</ParamField>

<ParamField path="option3" type="String">
  Additional options available for this product, usually representing extra customizations.
</ParamField>

<ParamField path="barcode" type="String">
  Barcode of the product variant
</ParamField>

## Related types

* [`ShopifyProduct`](/api-reference/shopifyproduct)


---

*Powered by [holocron.so](https://holocron.so)*
