ChargebeeAPI

List discounts for a subscription

Try in API Explorer

Retrieves a list of discount resources currently attached to a specific subscription. The list is sorted in descending order based on the created_at timestamp.

Note This endpoint does not return coupon or coupon_code resources.

Sample Request

URL Format

GET https://[site].chargebee.com/api/v2/subscriptions/{subscription-id}/discounts

Returns

next_offsetoptional, string, max chars=1000

This attribute is returned only if more resources are present. To fetch the next set of resources use this value for the input parameter offset.

discountDiscount object

Resource object representing discount