Generate subscription report

Generates a subscription report.

You can apply filters on date range, country name, product name, and product path. For each filtered variable, you can define the columns you want to include in your report and how to group results.

Body Params
filter
object

Filtering criteria for the subscription report, including date ranges, product filters, country codes, and segments.

reportColumns
array of strings

Columns to include in the subscription report:

ColumnDescription
activationsNumber of activations in the selected period.
arrCumulative Annual Run Rate until endDate.
average_mrrCumulative Average MRR until endDate.
buyer_emailBuyer’s email address.
buyer_idUnique ID for the buyer.
cancellationsNumber of cancellations in the selected period.
chargeback_true_falsetrue if the order was charged back, false if successful.
churn_typeChurn type if canceled.
company_idSeller's unique ID.
company_nameSeller's name.
country_iso2-letter ISO country code.
country_nameEnglish country name.
couponThe coupon code used.
customer_churnSubscriber loss over prior 30 days / active customers 30 days ago.
discountDiscount amount.
driving_offer_typee.g., cross-sell, upsell, bundle, addon, etc.
driving_product_pathParent product path.
lifetime_valueAverage MRR / customer churn.
mrrCumulative Monthly Recurring Revenue until endDate.
mrr_decreaseMRR decrease.
mrr_downgradeMRR from downgrades in the selected period.
mrr_growth_rate(current MRR - MRR 30 days ago) / (MRR 30 days ago).
mrr_increaseMRR increase in the selected period.
mrr_pausedMRR from pauses in the selected period.
mrr_resumedMRR from resumes in the selected period.
mrr_upgradeMRR from upgrades in the selected period.
new_subscribersNumber of new subscribers in the selected period.
occurred_dateDate of the subscription.
order_idOrder ID.
product_display_nameDisplay name of the product.
product_idInternal product ID.
product_nameProduct name.
product_pathPrimary key for the product.
purchase_typefirst or recurring (renewal).
return_true_falsetrue if returned, false otherwise.
revenue_churn(MRR decrease) / (MRR 30 days ago).
segmentGroup label for a product/country set.
store_idID of the store.
store_nameName of the store.
subscriber_lossSubscribers lost in the selected period.
subscribersCumulative subscribers until endDate.
subscription_idUnique subscription identifier.
subscription_periodLength of the subscription.
subscription_period_endEnd date of the subscription period.
subscription_period_startStart date of the subscription period.
subscription_quantitySubscription units from order creation.
subscription_start_dateThe subscription’s start date.
subscription_statusThe subscription status.
subscription_true_falsetrue if subscription product, false for a one-time product.
subscriptionsCumulative subscriptions until endDate.
sync_dateThe last sync date for the data.
transaction_currencyCurrency of the order.
transaction_dateDate of the order.
transaction_dayDay-month of the transaction.
transaction_monthMonth of the transaction.
transaction_time_utcUTC time of the transaction.
transaction_yearYear of the transaction.
reportColumns
groupBy
array of strings

Fields used to group or aggregate the data:

FieldDescription
buyer_emailBuyer’s email address.
buyer_idUnique ID for the buyer’s orders.
company_idThe seller’s unique ID.
company_nameThe seller’s name.
country_iso2-letter ISO country code.
country_nameEnglish name for the country.
couponThe coupon code used.
chargeback_true_falsetrue if order charged back, false if not.
churn_typeChurn type when canceled.
discountThe discount amount.
driving_offer_typee.g., cross-sell, upsell, addon, etc.
driving_product_pathThe parent product path.
occurred_dateThe date of the subscription.
order_idThe order ID.
product_display_nameDisplay name of the product.
product_idInternal product ID.
product_nameProduct name.
product_pathPrimary product path.
purchase_typefirst or recurring (renewal).
return_true_falsetrue if returned, false otherwise.
segmentGroups products/countries with shared traits.
store_idThe store’s ID.
store_nameThe store’s name.
subscription_idUnique subscription identifier.
subscription_periodThe subscription length.
subscription_period_endEnd date of the subscription period.
subscription_period_startStart date of the subscription period.
subscription_start_dateThe subscription start date.
subscription_statusThe subscription status.
subscription_true_falsetrue if subscription product, false if not.
sync_dateLast sync date.
transaction_currencyThe currency of the order.
transaction_dateThe date of the order.
transaction_dayDay-month of the subscription transaction.
transaction_monthMonth of the transaction.
transaction_yearYear of the transaction.
groupBy
int32
1 to 1000

Number of records to return per page.

int32
≥ 1

Specifies the page number of results to be returned.

boolean

Indicates if the report generation was requested asynchronously.

notificationEmails
array of strings

List of emails to notify upon job completion.

notificationEmails
Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json