promotions_codes_list
List all single-use codes for a promotion by providing its ID to manage and distribute promotional offers.
Instructions
List single-use codes for a SINGLE_USE_PROMOTION.
š Spec (GET /catalog/partners/{partnerId}/promotions/{promotionId}/codes): https://developer.atlassian.com/platform/marketplace/rest/v1/api-group-promotions/#api-marketplace-catalog-partners-partnerid-promotions-promotionid-codes-get
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_codes_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| promotionId | Yes |