Create variant
create_variantAdd a new variant to a Gumroad product's variant category with a name and price difference. Creates the variant via a confirmed POST request requiring edit_products scope.
Instructions
Create variant. Reviewed native POST /products/:product_id/variant_categories/:variant_category_id/variants; scope: edit_products. Requires explicit per-call confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| 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. | |
| max_purchase_count | No | (optional) | |
| variant_category_id | Yes | Exact opaque provider ID, including native = padding. | |
| price_difference_cents | Yes |