Marketplace app discount improvements
We're excited to announce a handful of updates to marketplace app discounts, including expanded functionality, improvements to the UI, and new APIs!
View existing discounts in the UI
You can now view existing discounts in the UI itself! There, you can see the account slug, discount status, plan name, period, whether or not it is recurring, discount percentage, creation date, and valid until date.
Delete discounts
The screenshot above may have given it away, but you can now also delete discounts by clicking the trash can!
View and manage discounts through the API
Not only can you view, grant, and delete discounts in the UI, but you can also do it through the API! We added a new query that enables you to retrieve discount data and two mutations to grant or delete discounts through the API. Read more here!
Grant discounts to all accounts
You can now grant discounts to all accounts by passing -1
as the account slug. This can be used to provide blanket discounts for all new subscriptions.
Grant discounts to multiple plans
Last but not least, you can also grant discounts on multiple plans instead of just one!