Skip to content

Product Variants

The Product Variants pull reads every product variant in the store. Pair it with a push that updates variants. The pull supplies the ids Shopify needs, and a Map transform sets the new values. For example:

  • read the variants, look up each SKU's new price, and update the variants through Products by Variant Id;
  • read each variant's inventory_item_id and set its stock through Inventory Levels v2.

On a reader, select Product Variants as the Shopify Entity.

Reader Options

The pull reads the whole catalogue on every run, in the Designer and outside it. It keeps no last run time, and the status, time span and id options have no effect.

API and Timestamps apply as they do to Orders.

The pull asks Shopify only for the fields the transform maps. A transform that maps a few fields reads a large catalogue faster than one that maps them all.

Records

The pull returns a Variant record for each variant:

  • id and product_id, the variant's and its product's numeric Shopify ids;
  • sku, barcode, title and position;
  • option1 to option3, the variant's option values, such as a size or colour;
  • price and compare_at_price;
  • inventory_item_id, inventory_policy and inventory_management;
  • taxable, tax_code and requires_shipping;
  • weight, weight_unit and image_id;
  • created_at and updated_at.

metafield_1_ to metafield_25_ hold the variant's first 25 metafields. Each set has namespace, key, type and value.

Access Scopes

The pull needs read_products and read_inventory. See Access Scopes.

Shopify Reference

ProductVariant in Shopify's GraphQL Admin API reference.