# Is there any API to apply a promo code to an app purchase?

**URL:** <https://community.developer.atlassian.com/t/is-there-any-api-to-apply-a-promo-code-to-an-app-purchase/77616>\
**Category:** General Discussion\
**Tags:** graphql, app-promotion, jira-cloud, rest-api, atlassian-connect\
**Created:** [February 23, 2024, 3:24am UTC](https://community.developer.atlassian.com/t/is-there-any-api-to-apply-a-promo-code-to-an-app-purchase/77616 "2024-02-23T03:24:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JimPham](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@JimPham](https://community.developer.atlassian.com/u/JimPham)\
**Post date:** [February 23, 2024, 3:24am UTC](https://community.developer.atlassian.com/t/is-there-any-api-to-apply-a-promo-code-to-an-app-purchase/77616/1 "2024-02-23T03:24:38Z")

</div>

Hi community,

I’m aware that there is an [API](https://developer.atlassian.com/platform/marketplace/rest/v1/api-group-promotions/) available to create promotion codes. I am looking for an API to integrate this functionality into my application.

To utilize the promotion code, an administrator needs to apply the code to the purchase plugin. I have found documentation guiding administrators on how to apply a code via the admin billing page, which can be found here: [Apply a Promo Code to an App Purchase](https://support.atlassian.com/subscriptions-and-billing/docs/apply-a-promo-code-to-an-app-purchase/).

Could you please let me know if there is an API available to apply a promo code to an app purchase?

Thank you!
