Get subscriptions by key and version

GET {{baseUrl}}/v1/subscriptions/:subscription-key/versions/:version?charge=<>

This REST API reference describes how to retrieve detailed information about a specified subscription in a specified version. When you create a subscription amendment, you create a new version of the subscription. You can use this method to retrieve information about a subscription in any version.n

Request Params

KeyDatatypeRequiredDescription
chargestringThe segmented rate plan charges.nnWhen an amendment results in a change to a charge, Zuora creates a segmented rate plan charge. Use this field to track segment charges.nnPossible values are:nn* last-segment: (Default) The last rate plan charge on the subscription. The last rate plan charge is the last one in the order of time on the subscription rather than the most recent changed charge on the subscription.n * current-segment: The segmented charge that is active on today???s date (effe