promotions_update
Update a promotion's fields such as name, dates, discount percent, or usage limits. Only supplied fields change.
Instructions
Update a promotion (PATCH ā only supplied fields change).
š Spec (PATCH /catalog/partners/{partnerId}/promotions/{promotionId}): https://developer.atlassian.com/platform/marketplace/rest/v1/api-group-promotions/#api-marketplace-catalog-partners-partnerid-promotions-promotionid-patch
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": {
"promotionId": "<promotionId>"
},
"name": "promotions_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| maxUses | No | ||
| startDate | No | ||
| promotionId | Yes | ||
| expirationDate | No | ||
| discountPercent | No | ||
| allowedBillingCycles | No |