Skip to content

Variant

Superseded by Products

For a new integration, update variants through the Products push, giving each variant its Variant Id and the Product Id. The Variant push remains for integrations built on it.

The Variant push updates existing variants, such as their prices, SKUs or barcodes. Each record updates one variant. Variant Id is required, and a record without a valid one fails. The push creates no variants.

Pair it with the Product Variants pull. That pull reads every variant's id. The push uses Shopify's REST Admin API, and Shopify has made that API a legacy API.

The push needs write_products. See Access Scopes.