gumroad_update_offer_code
Update the maximum number of times an offer code can be used for a product by specifying the product ID and offer code ID.
Instructions
Updates the max purchase count of an existing offer code for a product
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"product_id": "<product_id>",
"offer_code_id": "<offer_code_id>"
},
"name": "gumroad_update_offer_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | The ID of the product this offer applies to | |
| offer_code_id | Yes | The ID of the offer code to update | |
| max_purchase_count | No | Maximum number of times this offer can be used |