Idempotency Supported
This API triggers export of subscription data. The exported zip file contains CSV files with subscription-related data.
Sample Request
Sample Result[JSON]
URL Format
POST https://[site].chargebee.com/api/v2/exports/subscriptions
Input Parameters
Determines the format of the data. Returns the export type based on the selected value.
Enum Values
data
Download your current data in CSV.
import_friendly_data
Download import friendly data in CSV. This CSV can be used to perform bulk operations .
optional, string filter
Reason code for canceling the subscription. Must be one from a list of reason codes set in the Chargebee app in Settings > Configure Chargebee > Reason Codes > Subscriptions > Subscription Cancellation. Must be passed if set as mandatory in the app. The codes are case-sensitive. Supported operators : is, is_not, starts_with, in, not_in
Example → cancel_reason_code[is] = "Not Paid"
Returns
Export object
Resource object representing export