Update variant
update_variantEdit an existing Gumroad product variant's name, price difference, or purchase limit; requires explicit confirmation before changes are applied.
Instructions
Update variant. Reviewed native PUT /products/:product_id/variant_categories/:variant_category_id/variants/:id; scope: edit_products. Requires explicit per-call confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| account | No | Exact private profile label; never inherited credentials, ownership or scope proof. | |
| confirm | No | Set true only when the user asked for exactly this action. | |
| product_id | Yes | Exact opaque provider ID, including native = padding. | |
| variant_id | Yes | Exact opaque provider ID, including native = padding. | |
| max_purchase_count | No | (optional) | |
| variant_category_id | Yes | Exact opaque provider ID, including native = padding. | |
| price_difference_cents | No |