Create product variant
documentedCreate a Variant for a Product.
POST /v1/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://api.storenvy.com/v1/products/{{$product_id}}/variants.json" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-d '{"name":"{{$variant_name}}","full_quantity":{{$full_quantity}},"in_stock":{{$in_stock}},"position":"{{$position}}","sku":"{{$sku}}","override_cents":{{$override_cents}},"has_override_price":{{$has_override_price}}}'