Commerce
updateVariant
Update Variant
Edit ONE product variant (a price tier / SKU) in place: name, price (minor units), SKU, and availability.
Arguments
appIdstringrequiredThe Studio app ID whose catalog to edit.variantIdstringrequiredThe product variant ID to edit.namestringoptionalNew variant name (e.g. '50 ML').priceMinorintegeroptionalNew variant price in minor units (cents).skustringoptionalNew SKU.isAvailablebooleanoptionalfalse marks the variant sold out / unbuyable; true restores.
Returns
The registry does not declare a return shape.
Declared limits
priceMinor: minimum 0priceMinor: maximum 9007199254740991
Ask for it
The Cloud routes these requests to this verb.
- change the 50ML tier to $88
- mark the 30ML sold out
- set the SKU
Pair it with
The verbs that finish the job.