Update product variant
documentedUpdate a Variant for a Product.
PUT /v1/products/{product_id}/variants/{id}.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/{{$variant_id}}.json" \
-X PUT \
-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}}}'