--- url: https://developer.youcan.shop/themes/objects/product_variant.md --- # `productVariant` object Information about a product variant. ### Properties *** | Name | Type | Description | | ------------------ | :-----------------------------------------------------------: | :----------------------- | | `id` | [string](../basics/types#string) | Product identifier | | `variations` | [array](../basics/types#array) | Variant variations | | `price` | [number](../basics/types#number) | Price | | `compare_at_price` | [number](../basics/types#number) or `null` | Compare at price | | `weight` | [string](../basics/types#string) or `null` | Weight | | `sku` | [string](../basics/types#string) or `null` | SKU | | `barcode` | [string](../basics/types#string) or `null` | Barcode | | `inventory` | [array](../basics/types#array) | Inventory | | `is_selected` | [boolean](../basics/types#boolean) | Is selected | | `is_default` | [boolean](../basics/types#boolean) | Is default | | `product_id` | [string](../basics/types#string) | Product id | | `store_id` | [string](../basics/types#string) | Store id | | `image` | [string](../basics/types#string) or `null` | Image | | `available` | [boolean](../basics/types#boolean) | Is available for purchase | | `is_default_variant` | [boolean](../basics/types#boolean) | Is default variant |