Shopify - List product variants action

This action lists all product variants in Shopify for a specified product.

PRODUCT VARIANT RESOURCE DEPRECATION NOTICE

Listing, creating, updating, and deleting product variants is deprecated as of Shopify REST API version 2024-04. For more information, refer to the guide to the new product model.

Input

FieldDescription
Product IDThis product ID. Can be found at the end URL of the product page.

Output

The output to this action is a list of product variants. Each product variants includes the following datapills.

FieldDescription
IDThe unique numeric identifier for the product variant.
Product IDThe unique numeric identifier for the product.
BarcodeThe barcode, UPC, or ISBN number for the product.
Compare at priceThe original price of the item before an adjustment or a sale.
Fulfillment serviceThe fulfillment service associated with the product variant. Valid values: manual or the handle of a fulfillment service.
GramsThe weight of the product variant in grams.
Inventory managementThe fulfillment service that tracks the number of items in stock for the product variant.
Inventory policyWhether customers are allowed to place an order for the product variant when it's out of stock.
PositionThe order of the product variant in the list of product variants. The first position in the list is 1.
PriceThe price of the product variant.
Requires shippingNote: Shopify API states that this property is deprecated. Use the requires_shipping property on the InventoryItem resource instead.
TaxableWhether a tax is charged when the product variant is sold.
TitleThe title of the product variant. The title field is a concatenation of the Option 1, Option 2, and Option 3 fields. You can only update title indirectly using the option fields.
Old inventory quantity (deprecated)Note: Shopify API states that this property is deprecated. Use the InventoryLevel resource instead.
Image IDThe unique numeric identifier for a product's image. The image must be associated to the same product as the variant.
WeightThe weight of the product variant.
Weight unitUnit can be either 'g', 'kg', 'oz', or 'lb'
Option 1Custom variants of the product defined in options.
Option 2Custom variants of the product defined in options.
Option 3Custom variants of the product defined in options.
SkuA unique identifier for the product variant in the shop. Required to connect to a FulfillmentService.
Inventory quantity (deprecated)An aggregate of inventory across all locations.
Inventory item IDThe unique identifier for the inventory item, which is used in the Inventory API to query for inventory information.
Created atThe date and time when the product variant was created.
Updated atThe date and time when the product variant was last updated.

Last updated: