promotions_get
Retrieve a promotion by its ID. Returns full details including eligibility, dates, discount, and usage limits.
Instructions
Get one promotion by ID. Returns the full promotion object (~21 fields: id, name, eligibleApps, startDate, expirationDate, status, promotionType, discountType, discountPercent, maxUses, used, hostingType, promotionCode, …). GOTCHA: a nonexistent/malformed promotionId returns HTTP 500 (not 404).
📖 Spec (GET /catalog/partners/{partnerId}/promotions/{promotionId}): https://developer.atlassian.com/platform/marketplace/rest/v1/api-group-promotions/#api-marketplace-catalog-partners-partnerid-promotions-promotionid-get
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| promotionId | Yes | UUID for Cloud, string for Server/DC |