--- title: "List Variants By Product Id" slug: "list-variants-by-product-id" updated: 2026-04-02T13:37:57Z published: 2026-04-02T13:37:57Z canonical: "documentation.decisions.com/list-variants-by-product-id" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # List Variants By Product Id | Step Details | | --- | | **Introduced in Version** | 9.22 | | **Last Modified in Version** | 9.22 | | **Location** | Integration > Shopify > Inventory | The **List Variants By Product Id** step retrieves all product variants associated with a specific product in a Shopify store using the Shopify Admin API. Variants represent different versions of a product, such as size, color, or other attributes. This step is commonly used when there is a need to access variant-specific data, such as pricing, SKU, or inventory item identifiers. It can be combined with inventory-related steps to manage stock at the variant level or to perform operations based on specific product variations. ### Prerequisites This step requires the Shopify module to be [installed](https://documentation.decisions.com/docs/installing-modules-decisions) and a configured OAuth token with appropriate Shopify Admin API scopes (such as **read_products**). --- ## Properties #### Connection | Property | Description | Data Type | | --- | --- | --- | | Store Domain | The Shopify store domain used to construct API requests (e.g., {store-name}.myshopify.com). | String | | Token | The access token used to authenticate requests to the Shopify Admin API. | String | #### Inputs | Property | Description | Data Type | | --- | --- | --- | | First | Specifies the number of product variant records to retrieve in a single request. | Int32 | | Product Id | The unique identifier of the product whose variants are being retrieved. | String | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | Variants | A list of variants associated with the specified product. | List | ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1775080605115.png)![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1774989507333.png) --- ## Step Changes | Description | Version | Date | Developer Task | | --- | --- | --- | --- | | Initial release of the List Variants By Product Id step as part of the Shopify module. | [9.22](https://documentation.decisions.com/v99/docs/version-922x-release-notes) | Mar 2026 | DT-046986 |