Create product variant
documentedCreate a new variant for a product.
POST /admin/api/2026-01/products/{product_id}/variants.jsonProductsno implementation yet0 runsNo 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}}.myshopify.com/admin/api/2026-01/products/{{$product_id}}/variants.json" \
-X POST \
-H "X-Shopify-Access-Token: {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"variant": {"option1": "{{$option1}}", "option2": "{{$option2}}", "option3": "{{$option3}}", "price": "{{$price}}", "sku": "{{$sku}}", "compare_at_price": "{{$compare_at_price}}", "fulfillment_service": "manual", "inventory_management": "shopify", "inventory_policy": "deny", "requires_shipping": {{$requires_shipping}}, "taxable": {{$taxable}}}}'