Sign in

Update product variant

documented

Update a product variant.

PUT /admin/api/2026-01/products/{product_id}/variants/{variant_id}.jsonProductsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{$shop_domain}}/admin/api/2026-01/variants/{{$variant_id}}.json" \
  -X PUT \
  -H "X-Shopify-Access-Token: {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"variant": {"id": {{$variant_id}}, "title": "{{$title}}", "price": "{{$price}}", "compare_at_price": "{{$compare_at_price}}", "option1": "{{$option1}}", "option2": "{{$option2}}", "option3": "{{$option3}}"}}'
Update product variant · Shopify · OpenIntegrations