Important
For sites where both legacy and latest product catalog versions are active, GET API requests return responses in a compat format by default. This format works with both latest and legacy Product Catalog.
Override options:
chargebee-response-schema-type: items→ Return response in latest product catalog format only.chargebee-response-schema-type: plans_addons→ Return response in legacy product catalog format only.
Retrieves details of a subscription.
Sample Request
Sample Result[JSON]
URL Format
GET https://[site].chargebee.com/api/v2/subscriptions/{subscription-id}
Returns
Subscription object
Resource object representing subscription
Customer object
Resource object representing customer
Card object
Resource object representing card