> ## Documentation Index
> Fetch the complete documentation index at: https://docs.queryful.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Variant

> The variant fields any report that reaches a variant can use

A report that reaches a variant can show, group by and filter on its fields, written after the record with a dot: `variant.title`. Through another record the path is longer, as in `order.variant.title`.

## Fields

| Field | Type | Description |
| - | - | - |
| `title` | Text | The variant's title today. |
| `sku` | Text | The variant's SKU. |
| `barcode` | Text | The variant's barcode. |
| `price` | Number | The variant's price today. |
| `compare_at_price` | Number | The variant's compare-at price today. |
| `cost` | Number | The variant's cost today. |
| `option1` | Text | The variant's first option value. |
| `option2` | Text | The variant's second option value. |
| `option3` | Text | The variant's third option value. |
| `weight` | Number | The variant's weight, in its own unit. |
| `weight_unit` | Text | The unit of the variant's weight. |
| `tracked` | Yes or no | Whether Shopify tracks the variant's stock. |
| `inventory_policy` | Text | Whether it can be sold when out of stock (continue) or not (deny). |
| `created_date` | Date | The day the variant was added. |
| `available_for_sale` | Yes or no | Whether the variant can be bought right now (in stock or sold when out of stock, and published). |
| `unit_price` | Number | The variant's price per reference unit (unit pricing). |
| `unit_price_measure` | Text | What the unit price is per and what's sold, such as 100 ml of 500 ml. |
| `shows_unit_price` | Yes or no | Whether the storefront shows the variant's unit price. |
| `barcode_types` | Text | The kinds of barcode the variant has (UPC, EAN, ISBN...), comma separated. |
| `country_of_origin` | Text | Where the variant was made (for customs). |
| `province_of_origin` | Text | The province or state the variant was made in (for customs). |
| `hs_code` | Text | The variant's harmonized system code (for customs). |
| `is_bundle_component` | Yes or no | Whether the variant is a component of a bundle or multipack: true or false. |
| `selling_plan_groups` | Text | The subscription and pre-order groups the variant is sold on, comma separated. |
| `price_on_day` | Number | The variant's price on the row's day, from its history. Only on reports with a date. |
| `compare_at_price_on_day` | Number | The variant's compare-at price on the row's day, from its history. Only on reports with a date. |
| `cost_on_day` | Number | The variant's cost on the row's day, from its history. Only on reports with a date. |

## Counts

| Metric | Type | Description |
| - | - | - |
| `count` | Number | How many different variants the rows reach. |

## Reached from

* [Sales](https://docs.queryful.app/queryfulql/datasets/sales.md)
* [Order line items](https://docs.queryful.app/queryfulql/datasets/order_lines.md)
* [Inventory](https://docs.queryful.app/queryfulql/datasets/inventory.md)
* [Returns](https://docs.queryful.app/queryfulql/datasets/returns.md)
* [Restocks](https://docs.queryful.app/queryfulql/datasets/refund_lines.md)
* [Price lists](https://docs.queryful.app/queryfulql/datasets/price_lists.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.