Update offer code
update_offer_codeModify an existing Gumroad offer code's maximum purchase count or minimum order amount by product and code ID, with explicit confirmation.
Instructions
Update offer code. Reviewed native PUT /products/:product_id/offer_codes/:id; scope: edit_products. Requires explicit per-call confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| offer_code_id | Yes | Exact opaque provider ID, including native = padding. | |
| max_purchase_count | No | ||
| minimum_amount_cents | No | (optional) Minimum order total in cents required for the offer code to apply |