Will a manual discount be shown in the response of the List Subscriptions API?

Modified on: Wed, 14 Dec, 2022 at 6:54 PM

This article covers 

Whether a Manual Discount is shown while using List Subscriptions API?

What happens if a coupon is applied, will it be shown within the response of List subscriptions API?

Solution

If the Coupon has been applied to a subscription, then while retrieving the Subscriptions using the List Subscriptions APIyou will get a response wherein you'd see the coupon object present on the subscription. Along with that, you'll also see the coupon ID and how many times it has been applied to a subscription. Please refer to the below screenshot.



Now, when it comes to the Subscription with the Manual discount, when a subscription with a manual discount applied is retrieved using the List Subscription API, you'd see the discount object and the object will simply say Discount. It will also give you information about when it was applied and the kind of discount that was provided on the subscription. Please refer to the screenshot of the response below:


Related Article:
How can I apply multiple Manual discounts via API to an existing subscription?





Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.
×