Chủ Nhật, 16 tháng 8, 2020

Analytics API

 The Analytics API provides account and subscription analytics information.

The following subjects are covered in this article:

URL

URL: https://api.clickbank.com/rest/1.3/analytics

Methods

This section provides details about the methods available within the Analytics API, including required keys and roles, output types, and supported and required parameters.

The following methods are covered in this section:

GET  /1.3/analytics/status

This method returns the status and last update time of the API.

The possible statuses are:

  • GREEN – Normal operation.
  • YELLOW – Delayed data.
  • RED – Severely delayed data or critical problem.

Required Keys and Roles

  • Developer Key
  • Clerk Key
    • Analytics Role

Return Type

Analytics Status

Supported Output Types

  • application/xml
  • application/json
  • text/csv

GET  /1.3/analytics/schema/AnalyticsResult

This method returns the XML Schema for analytics results.

Required Keys and Roles

  • None

Return Type

XML Schema for Analytics Result

Supported Output Types

  • application/xml

GET  /1.3/analytics/schema/AnalyticsStatus

This method returns the XML Schema for analytics status results.

Required Keys and Roles

  • None

Return Type

XML Schema for Analytics Status

Supported Output Types

  • application/xml

GET  /1.3/analytics/schema/SubscriptionDetailResult

This method returns the XML Schema for subscription results.

Required Keys and Roles

  • None

Return Type

XML Schema for Subscription Detail Result

Supported Output Types

  • application/xml

GET  /1.3/analytics/schema/SubscriptionTrendsData

This method returns the XML Schema for subscription trends results.

Required Keys and Roles

  • None

Return Type

XML Schema for Subscription Trends Data

Supported Output Types

  • application/xml

GET  /1.3/analytics/schema/SubscriptionDetailResultRow

This method returns the XML Schema for individual subscription results.

Required Keys and Roles

  • None

Return Type

XML Schema for Subscription Detail Result Row

Supported Output Types

  • application/xml

GET  /1.3/analytics/{role}/{dimension}

This method returns statistical data for a given role and dimension. Valid roles include:

  • AFFILIATE
  • VENDOR

Dimensions include:

  • AFFILIATE
  • VENDOR_CATEGORY
  • CUSTOMER_CURRENCY
  • CUSTOMER_COUNTRY
  • CUSTOMER_PROVINCE
  • CUSTOMER_LANGUAGE
  • PRODUCT_SKU – This dimension can only be used with the vendor role.
  • TRACKING_ID
  • VENDOR
  • VENDOR_PRODUCT_SKU – This dimension can only be used with the affiliate role.

Head Parameters

NameRequiredDescription
pageNo

Return the specified page of results. The default is page 1.

Request Parameters

NameRequiredDescription
accountYes

Return results from the specified account nickname.

dimensionFilterNo

Limits the results returned to ones with a matching dimension ID. This value is case sensitive.

endDateNo

Return results ending with the specified date. The date range is inclusive. The date format is yyyy-mm-dd. The default value is the current day.

Refunds are included or excluded based on the date of the initial purchase transaction.

orderByNo

Order the results by the specified data field. The valid values are:

  • CHARGEBACK_AMOUNT – The amount of money returned through chargebacks.
  • CHARGEBACK_COUNT – The total number of chargebacks.
  • CHARGEBACK_RATE – The rate of chargebacks as a percentage of total sales.
  • DIMENSION_VALUE – The dimension value.
  • EARNINGS_PER_HOP – The average amount earned for each user who follows a hoplink.
  • GROSS_SALE_AMOUNT – The total monetary amount of sales, including sales that have been refunded or charged back.
  • GROSS_SALE_COUNT – The total number of sales, including sales that have been refunded or charged back.
  • HOP_COUNT – The total number of users who have followed a hoplink connected to the specified account.
  • HOPS_PER_SALE – The number of hops for each sale.
  • HOPS_PER_ORDER_FORM_IMPRESSION – The number of hops for each viewing of the order form.
  • NET_SALE_AMOUNT – The total monetary amount of sales, minus refunds and chargebacks.
  • NET_SALE_COUNT – The total number of sales, minus refunds and chargebacks.
  • ORDER_FORM_SALE_CONVERSION – The conversion rate between order form impressions and sales.
  • ORDER_IMPRESSION – The number of times your order form has been served to potential customers.
  • ORDER_SUBMISSION – The number of times your order form has been submitted by a customer, regardless of result.
  • REBILL_AMOUNT – The total monetary amount of rebill payments made to you.
  • REBILL_COUNT – The total number of rebill payments made to you.
  • REFUND_AMOUNT – The amount of money returned through refunds.
  • REFUND_COUNT – The total number of refunds.
  • REFUND_RATE – The rate of refunds as a percentage of total sales.
  • SALE_AMOUNT – The total monetary amount of initial sales, including one-time products and the initial purchases of recurring products.
  • SALE_COUNT – The total number of initial sales, including one-time products and the initial purchases of recurring products.
  • UPSELL_AMOUNT – The total monetary amount earned through pitchplus upsell flows.
  • UPSELL_COUNT – The total number of sales made through pitchplus upsell flows.
selectNo

Return the specified data fields. You can pass multiple select parameters to select multiple values. If this parameter is absent, all values are returned. The valid values are:

  • CHARGEBACK_AMOUNT – The amount of money returned through chargebacks.
  • CHARGEBACK_COUNT – The total number of chargebacks.
  • CHARGEBACK_RATE – The rate of chargebacks as a percentage of total sales.
  • DIMENSION_VALUE – The dimension value.
  • EARNINGS_PER_HOP – The average amount earned for each user who follows a hoplink.
  • GROSS_SALE_AMOUNT – The total monetary amount of sales, including sales that have been refunded or charged back.
  • GROSS_SALE_COUNT – The total number of sales, including sales that have been refunded or charged back.
  • HOP_COUNT – The total number of users who have followed a hoplink connected to the specified account.
  • HOPS_PER_SALE – The number of hops for each sale.
  • HOPS_PER_ORDER_FORM_IMPRESSION – The number of hops for each viewing of the order form.
  • NET_SALE_AMOUNT – The total monetary amount of sales, minus refunds and chargebacks.
  • NET_SALE_COUNT – The total number of sales, minus refunds and chargebacks.
  • ORDER_FORM_SALE_CONVERSION – The conversion rate between order form impressions and sales.
  • ORDER_IMPRESSION – The number of times your order form has been served to potential customers.
  • ORDER_SUBMISSION – The number of times your order form has been submitted by a customer, regardless of result.
  • REBILL_AMOUNT – The total monetary amount of rebill payments made to you.
  • REBILL_COUNT – The total number of rebill payments made to you.
  • REFUND_AMOUNT – The amount of money returned through refunds.
  • REFUND_COUNT – The total number of refunds.
  • REFUND_RATE – The rate of refunds as a percentage of total sales.
  • SALE_AMOUNT – The total monetary amount of initial sales, including one-time products and the initial purchases of recurring products.
  • SALE_COUNT – The total number of initial sales, including one-time products and the initial purchases of recurring products.
  • UPSELL_AMOUNT – The total monetary amount earned through pitchplus upsell flows.
  • UPSELL_COUNT – The total number of sales made through pitchplus upsell flows.
sortAscendingNo

If you are using the orderBy parameter, you can specify this parameter with a value of true to sort ascending instead of descending.

startDateNo

Return results beginning with the specified date. The date range is inclusive. The date format is yyyy-mm-dd. The default value is the previous day.

Refunds are included or excluded based on the date of the initial purchase transaction.

Required Keys and Roles

  • Developer Key
  • Clerk Key
    • Analytics Role

Return Type

Analytics Result

Supported Output Types

  • application/xml
  • application/json

GET  /1.3/analytics/{role}/{dimension}/summary

This method returns summary statistical data for a given role and dimension.

Valid roles include:

  • AFFILIATE
  • VENDOR

Dimensions include:

  • AFFILIATE
  • VENDOR_CATEGORY
  • CUSTOMER_CURRENCY
  • CUSTOMER_COUNTRY
  • CUSTOMER_PROVINCE
  • CUSTOMER_LANGUAGE
  • PRODUCT_SKU – This dimension can only be used with the vendor role.
  • TRACKING_ID
  • VENDOR
  • VENDOR_PRODUCT_SKU – This dimension can only be used with the affiliate role.

Head Parameters

NameRequiredDescription
pageNo

Return the specified page of results. The default is page 1.

Request Parameters

NameRequiredDescription
accountYes

Return results from the specified account nickname.

summaryTypeYes

This parameter specifies which type of summary data is desired.

The valid values are:

  • VENDOR_ONLY – this shows summary information for only the selected account
  • AFFILIATE_ONLY – this shows summary information which excludes the selected account
dimensionFilterNo

This parameter limits the results returned to ones with a matching dimension id. This value is case sensitive.

endDateNo

Return results ending with the specified date. The date range is inclusive. The date format is yyyy-mm-dd. The default value is the current day.

Refunds are included or excluded based on the date of the initial purchase transaction.

orderByNo

Order the results by the specified data field. The valid values are:

  • CHARGEBACK_AMOUNT – The amount of money returned through chargebacks.
  • CHARGEBACK_COUNT – The total number of chargebacks.
  • CHARGEBACK_RATE – The rate of chargebacks as a percentage of total sales.
  • DIMENSION_VALUE – The dimension value.
  • EARNINGS_PER_HOP – The average amount earned for each user who follows a hoplink.
  • GROSS_SALE_AMOUNT – The total monetary amount of sales, including sales that have been refunded or charged back.
  • GROSS_SALE_COUNT – The total number of sales, including sales that have been refunded or charged back.
  • HOP_COUNT – The total number of users who have followed a hoplink connected to the specified account.
  • HOPS_PER_SALE – The number of hops for each sale.
  • HOPS_PER_ORDER_FORM_IMPRESSION – The number of hops for each viewing of the order form.
  • NET_SALE_AMOUNT – The total monetary amount of sales, minus refunds and chargebacks.
  • NET_SALE_COUNT – The total number of sales, minus refunds and chargebacks.
  • ORDER_FORM_SALE_CONVERSION – The conversion rate between order form impressions and sales.
  • ORDER_IMPRESSION – The number of times your order form has been served to potential customers.
  • ORDER_SUBMISSION – The number of times your order form has been submitted by a customer, regardless of result.
  • REBILL_AMOUNT – The total monetary amount of rebill payments made to you.
  • REBILL_COUNT – The total number of rebill payments made to you.
  • REFUND_AMOUNT – The amount of money returned through refunds.
  • REFUND_COUNT – The total number of refunds.
  • REFUND_RATE – The rate of refunds as a percentage of total sales.
  • SALE_AMOUNT – The total monetary amount of initial sales, including one-time products and the initial purchases of recurring products.
  • SALE_COUNT – The total number of initial sales, including one-time products and the initial purchases of recurring products.
  • UPSELL_AMOUNT – The total monetary amount earned through pitchplus upsell flows.
  • UPSELL_COUNT – The total number of sales made through pitchplus upsell flows.
selectNo

Return the specified data fields. You can pass multiple select parameters to select multiple values. If this parameter is absent, all values are returned. The valid values are:

  • CHARGEBACK_AMOUNT – The amount of money returned through chargebacks.
  • CHARGEBACK_COUNT – The total number of chargebacks.
  • CHARGEBACK_RATE – The rate of chargebacks as a percentage of total sales.
  • DIMENSION_VALUE – The dimension value.
  • EARNINGS_PER_HOP – The average amount earned for each user who follows a hoplink.
  • GROSS_SALE_AMOUNT – The total monetary amount of sales, including sales that have been refunded or charged back.
  • GROSS_SALE_COUNT – The total number of sales, including sales that have been refunded or charged back.
  • HOP_COUNT – The total number of users who have followed a hoplink connected to the specified account.
  • HOPS_PER_SALE – The number of hops for each sale.
  • HOPS_PER_ORDER_FORM_IMPRESSION – The number of hops for each viewing of the order form.
  • NET_SALE_AMOUNT – The total monetary amount of sales, minus refunds and chargebacks.
  • NET_SALE_COUNT – The total number of sales, minus refunds and chargebacks.
  • ORDER_FORM_SALE_CONVERSION – The conversion rate between order form impressions and sales.
  • ORDER_IMPRESSION – The number of times your order form has been served to potential customers.
  • ORDER_SUBMISSION – The number of times your order form has been submitted by a customer, regardless of result.
  • REBILL_AMOUNT – The total monetary amount of rebill payments made to you.
  • REBILL_COUNT – The total number of rebill payments made to you.
  • REFUND_AMOUNT – The amount of money returned through refunds.
  • REFUND_COUNT – The total number of refunds.
  • REFUND_RATE – The rate of refunds as a percentage of total sales.
  • SALE_AMOUNT – The total monetary amount of initial sales, including one-time products and the initial purchases of recurring products.
  • SALE_COUNT – The total number of initial sales, including one-time products and the initial purchases of recurring products.
  • UPSELL_AMOUNT – The total monetary amount earned through pitchplus upsell flows.
  • UPSELL_COUNT – The total number of sales made through pitchplus upsell flows.
sortAscendingNo

If you are using the orderBy parameter, you can specify this parameter with a value of true to sort ascending instead of descending.

startDateNo

Return results beginning with the specified date. The date range is inclusive. The date format is yyyy-mm-dd. The default value is the previous day.

Refunds are included or excluded based on the date of the initial purchase transaction.

Required Keys and Roles

  • Developer Key
  • Clerk Key
    • Analytics Role

Return Type

Analytics Result

Supported Output Types

  • application/xml
  • application/json

GET  /1.3/analytics/{role}/subscription/details

This method returns subscription data for a given role.

Valid roles include:

  • AFFILIATE
  • VENDOR

Request Parameters

NameRequiredDescription
accountYes

Return results from the specified account nickname.

orderByNo

Order the results by the specified data field. The valid values are:

  • AFFILIATE_NICK_NAME – The nickname of the affiliate associated with the subscription. This value can only be used by vendors.
  • CHARGEBACK_COUNT – The number of chargebacks made against the subscription.
  • CHARGEBACK_AMOUNT – The amount of any chargebacks for the subscription to date, in US Dollars.
  • CUSTOMER_FIRST_NAME – The customer's first name. This value can only be used by vendors.
  • CUSTOMER_LAST_NAME – The customer's last name. This value can only be used by vendors.
  • CUSTOMER_DISPLAY_NAME – The display name used by the customer. This value can only be used by vendors.
  • CUSTOMER_EMAIL – The customer's email address. This value can only be used by vendors.
  • DURATION – The length of time the subscription has been active.
  • FUTURE_PAYMENTS_COUNT – The number of payments that will be processed as part of the subscription if no changes are made.
  • INITIAL_SALE_AMOUNT – The amount of the initial sale, in US Dollars.
  • INITIAL_SALE_COUNT – The number of initial sales made.
  • ITEM_NUMBER – The item number for the recurring product in the subscription.
  • NEXT_PAYMENT_DATE – The date on which the next payment for a recurring product is due.
  • PROCESSED_PAYMENTS_COUNT – The number of payments processed as part of the subscription to date.
  • PUB_NICK_NAME – The nickname of the vendor who published the subscription. This value can only be used by affiliates.
  • PURCHASE_DATE – The date of purchase.
  • REBILL_SALE_AMOUNT – The amount of each rebill payment, in US Dollars.
  • REBILL_SALE_COUNT – The number of rebill payments made to date.
  • RECEIPT – The receipt number.
  • REFUND_COUNT – The number of refund requests made for the subscription.
  • REFUND_AMOUNT – The amount of any refunds for the subscription to date, in US Dollars.
  • STATUS – The subscription's current status.
  • SUB_CANCEL_DATE – The date on which a subscription was canceled.
  • SUB_END_DATE – The date on which a subscription will end.
  • SUB_VALUE – The total value of the subscription to date.
sortDirectionNo

Specify the order in which the sorted results are returned. The valid values are:

  • ASC – Ascending. This is the default.
  • DESC – Descending

Required Keys and Roles

  • Developer Key
  • Clerk Key
    • Analytics Role

Return Type

Subscription Detail Result

Supported Output Types

  • application/xml
  • application/json

GET  /1.3/analytics/{role}/subscription/details/canceldate

This method returns a list of subscriptions where the subscription canceled date is within the specified date range.

Request Parameters

NameRequiredDescription
accountYes

Return results from the specified account nickname.

endDateYes

Return results ending with the specified date. The date range is inclusive. The date format is yyyy-mm-dd.

startDateYes

Return results beginning with the specified date. The date range is inclusive. The date format is yyyy-mm-dd.

orderByNo

Order the results by the specified data field. The valid values are:

  • AFFILIATE_NICK_NAME – The nickname of the affiliate associated with the subscription. This value can only be used by vendors.
  • CHARGEBACK_COUNT – The number of chargebacks made against the subscription.
  • CHARGEBACK_AMOUNT – The amount of any chargebacks for the subscription to date, in US Dollars.
  • CUSTOMER_FIRST_NAME – The customer's first name. This value can only be used by vendors.
  • CUSTOMER_LAST_NAME – The customer's last name. This value can only be used by vendors.
  • CUSTOMER_DISPLAY_NAME – The display name used by the customer. This value can only be used by vendors.
  • CUSTOMER_EMAIL – The customer's email address. This value can only be used by vendors.
  • DURATION – The length of time the subscription has been active.
  • FUTURE_PAYMENTS_COUNT – The number of payments that will be processed as part of the subscription if no changes are made.
  • INITIAL_SALE_AMOUNT – The amount of the initial sale, in US Dollars.
  • INITIAL_SALE_COUNT – The number of initial sales made.
  • ITEM_NUMBER – The item number for the recurring product in the subscription.
  • NEXT_PAYMENT_DATE – The date on which the next payment for a recurring product is due.
  • PROCESSED_PAYMENTS_COUNT – The number of payments processed as part of the subscription to date.
  • PUB_NICK_NAME – The nickname of the vendor who published the subscription. This value can only be used by affiliates.
  • PURCHASE_DATE – The date of purchase.
  • REBILL_SALE_AMOUNT – The amount of each rebill payment, in US Dollars.
  • REBILL_SALE_COUNT – The number of rebill payments made to date.
  • RECEIPT – The receipt number.
  • REFUND_COUNT – The number of refund requests made for the subscription.
  • REFUND_AMOUNT – The amount of any refunds for the subscription to date, in US Dollars.
  • STATUS – The subscription's current status.
  • SUB_CANCEL_DATE – The date on which a subscription was canceled.
  • SUB_END_DATE – The date on which a subscription will end.
  • SUB_VALUE – The total value of the subscription to date.
sortDirectionNo

Specify the order in which the sorted results are returned. The valid values are:

  • ASC – Ascending. This is the default.
  • DESC – Descending.

Required Keys and Roles

  • Developer Key
  • Clerk Key
    • Analytics Role

Return Type

Subscription Detail Result

Supported Output Types

  • application/xml
  • application/json

GET  /1.3/analytics/{role}/subscription/details/cancelsixty

This method returns a list of subscriptions canceled in the last 60 days.

Request Parameters

NameRequiredDescription
accountYes

Return results from the specified account nickname.

orderByNo

Order the results by the specified data field. The valid values are:

  • AFFILIATE_NICK_NAME – The nickname of the affiliate associated with the subscription. This value can only be used by vendors.
  • CHARGEBACK_COUNT – The number of chargebacks made against the subscription.
  • CHARGEBACK_AMOUNT – The amount of any chargebacks for the subscription to date, in US Dollars.
  • CUSTOMER_FIRST_NAME – The customer's first name. This value can only be used by vendors.
  • CUSTOMER_LAST_NAME – The customer's last name. This value can only be used by vendors.
  • CUSTOMER_DISPLAY_NAME – The display name used by the customer. This value can only be used by vendors.
  • CUSTOMER_EMAIL – The customer's email address. This value can only be used by vendors.
  • DURATION – The length of time the subscription has been active.
  • FUTURE_PAYMENTS_COUNT – The number of payments that will be processed as part of the subscription if no changes are made.
  • INITIAL_SALE_AMOUNT – The amount of the initial sale, in US Dollars.
  • INITIAL_SALE_COUNT – The number of initial sales made.
  • ITEM_NUMBER – The item number for the recurring product in the subscription.
  • NEXT_PAYMENT_DATE – The date on which the next payment for a recurring product is due.
  • PROCESSED_PAYMENTS_COUNT – The number of payments processed as part of the subscription to date.
  • PUB_NICK_NAME – The nickname of the vendor who published the subscription. This value can only be used by affiliates.
  • PURCHASE_DATE – The date of purchase.
  • REBILL_SALE_AMOUNT – The amount of each rebill payment, in US Dollars.
  • REBILL_SALE_COUNT – The number of rebill payments made to date.
  • RECEIPT – The receipt number.
  • REFUND_COUNT – The number of refund requests made for the subscription.
  • REFUND_AMOUNT – The amount of any refunds for the subscription to date, in US Dollars.
  • STATUS – The subscription's current status.
  • SUB_CANCEL_DATE – The date on which a subscription was canceled.
  • SUB_END_DATE – The date on which a subscription will end.
  • SUB_VALUE – The total value of the subscription to date.
sortDirectionNo

Specify the order in which the sorted results are returned. The valid values are:

  • ASC – Ascending. This is the default.
  • DESC – Descending

Required Keys and Roles

  • Developer Key
  • Clerk Key
    • Analytics Role

Return Type

Subscription Detail Result

Supported Output Types

  • application/xml
  • application/json

GET  /1.3/analytics/{role}/subscription/details/cancelthirty

This method returns a list of subscriptions canceled in the last 30 days.

Request Parameters

NameRequiredDescription
accountYes

Return results from the specified account nickname.

orderByNo

Order the results by the specified data field. The valid values are:

  • AFFILIATE_NICK_NAME – The nickname of the affiliate associated with the subscription. This value can only be used by vendors.
  • CHARGEBACK_COUNT – The number of chargebacks made against the subscription.
  • CHARGEBACK_AMOUNT – The amount of any chargebacks for the subscription to date, in US Dollars.
  • CUSTOMER_FIRST_NAME – The customer's first name. This value can only be used by vendors.
  • CUSTOMER_LAST_NAME – The customer's last name. This value can only be used by vendors.
  • CUSTOMER_DISPLAY_NAME – The display name used by the customer. This value can only be used by vendors.
  • CUSTOMER_EMAIL – The customer's email address. This value can only be used by vendors.
  • DURATION – The length of time the subscription has been active.
  • FUTURE_PAYMENTS_COUNT – The number of payments that will be processed as part of the subscription if no changes are made.
  • INITIAL_SALE_AMOUNT – The amount of the initial sale, in US Dollars.
  • INITIAL_SALE_COUNT – The number of initial sales made.
  • ITEM_NUMBER – The item number for the recurring product in the subscription.
  • NEXT_PAYMENT_DATE – The date on which the next payment for a recurring product is due.
  • PROCESSED_PAYMENTS_COUNT – The number of payments processed as part of the subscription to date.
  • PUB_NICK_NAME – The nickname of the vendor who published the subscription. This value can only be used by affiliates.
  • PURCHASE_DATE – The date of purchase.
  • REBILL_SALE_AMOUNT – The amount of each rebill payment, in US Dollars.
  • REBILL_SALE_COUNT – The number of rebill payments made to date.
  • RECEIPT – The receipt number.
  • REFUND_COUNT – The number of refund requests made for the subscription.
  • REFUND_AMOUNT – The amount of any refunds for the subscription to date, in US Dollars.
  • STATUS – The subscription's current status.
  • SUB_CANCEL_DATE – The date on which a subscription was canceled.
  • SUB_END_DATE – The date on which a subscription will end.
  • SUB_VALUE – The total value of the subscription to date.
sortDirectionNo

Specify the order in which the sorted results are returned. The valid values are:

  • ASC – Ascending. This is the default.
  • DESC – Descending

Required Keys and Roles

  • Developer Key
  • Clerk Key
    • Analytics Role

Return Type

Subscription Detail Result

Supported Output Types

  • application/xml
  • application/json

GET  /1.3/analytics/{role}/subscription/details/compsixty

This method returns a list of subscriptions that will complete in the next 60 days.

Request Parameters

NameRequiredDescription
accountYes

Return results from the specified account nickname.

orderByNo

Order the results by the specified data field. The valid values are:

  • AFFILIATE_NICK_NAME – The nickname of the affiliate associated with the subscription. This value can only be used by vendors.
  • CHARGEBACK_COUNT – The number of chargebacks made against the subscription.
  • CHARGEBACK_AMOUNT – The amount of any chargebacks for the subscription to date, in US Dollars.
  • CUSTOMER_FIRST_NAME – The customer's first name. This value can only be used by vendors.
  • CUSTOMER_LAST_NAME – The customer's last name. This value can only be used by vendors.
  • CUSTOMER_DISPLAY_NAME – The display name used by the customer. This value can only be used by vendors.
  • CUSTOMER_EMAIL – The customer's email address. This value can only be used by vendors.
  • DURATION – The length of time the subscription has been active.
  • FUTURE_PAYMENTS_COUNT – The number of payments that will be processed as part of the subscription if no changes are made.
  • INITIAL_SALE_AMOUNT – The amount of the initial sale, in US Dollars.
  • INITIAL_SALE_COUNT – The number of initial sales made.
  • ITEM_NUMBER – The item number for the recurring product in the subscription.
  • NEXT_PAYMENT_DATE – The date on which the next payment for a recurring product is due.
  • PROCESSED_PAYMENTS_COUNT – The number of payments processed as part of the subscription to date.
  • PUB_NICK_NAME – The nickname of the vendor who published the subscription. This value can only be used by affiliates.
  • PURCHASE_DATE – The date of purchase.
  • REBILL_SALE_AMOUNT – The amount of each rebill payment, in US Dollars.
  • REBILL_SALE_COUNT – The number of rebill payments made to date.
  • RECEIPT – The receipt number.
  • REFUND_COUNT – The number of refund requests made for the subscription.
  • REFUND_AMOUNT – The amount of any refunds for the subscription to date, in US Dollars.
  • STATUS – The subscription's current status.
  • SUB_CANCEL_DATE – The date on which a subscription was canceled.
  • SUB_END_DATE – The date on which a subscription will end.
  • SUB_VALUE – The total value of the subscription to date.
sortDirectionNo

Specify the order in which the sorted results are returned. The valid values are:

  • ASC – Ascending. This is the default.
  • DESC – Descending

Required Keys and Roles

  • Developer Key
  • Clerk Key
    • Analytics Role

Return Type

Subscription Detail Result

Supported Output Types

  • application/xml
  • application/json

GET  /1.3/analytics/{role}/subscription/details/compthirty

This method returns a list of subscriptions that will complete within the next thirty days.

Request Parameters

NameRequiredDescription
accountYes

Return results from the specified account nickname.

orderByNo

Order the results by the specified data field. The valid values are:

  • AFFILIATE_NICK_NAME – The nickname of the affiliate associated with the subscription. This value can only be used by vendors.
  • CHARGEBACK_COUNT – The number of chargebacks made against the subscription.
  • CHARGEBACK_AMOUNT – The amount of any chargebacks for the subscription to date, in US Dollars.
  • CUSTOMER_FIRST_NAME – The customer's first name. This value can only be used by vendors.
  • CUSTOMER_LAST_NAME – The customer's last name. This value can only be used by vendors.
  • CUSTOMER_DISPLAY_NAME – The display name used by the customer. This value can only be used by vendors.
  • CUSTOMER_EMAIL – The customer's email address. This value can only be used by vendors.
  • DURATION – The length of time the subscription has been active.
  • FUTURE_PAYMENTS_COUNT – The number of payments that will be processed as part of the subscription if no changes are made.
  • INITIAL_SALE_AMOUNT – The amount of the initial sale, in US Dollars.
  • INITIAL_SALE_COUNT – The number of initial sales made.
  • ITEM_NUMBER – The item number for the recurring product in the subscription.
  • NEXT_PAYMENT_DATE – The date on which the next payment for a recurring product is due.
  • PROCESSED_PAYMENTS_COUNT – The number of payments processed as part of the subscription to date.
  • PUB_NICK_NAME – The nickname of the vendor who published the subscription. This value can only be used by affiliates.
  • PURCHASE_DATE – The date of purchase.
  • REBILL_SALE_AMOUNT – The amount of each rebill payment, in US Dollars.
  • REBILL_SALE_COUNT – The number of rebill payments made to date.
  • RECEIPT – The receipt number.
  • REFUND_COUNT – The number of refund requests made for the subscription.
  • REFUND_AMOUNT – The amount of any refunds for the subscription to date, in US Dollars.
  • STATUS – The subscription's current status.
  • SUB_CANCEL_DATE – The date on which a subscription was canceled.
  • SUB_END_DATE – The date on which a subscription will end.
  • SUB_VALUE – The total value of the subscription to date.
sortDirectionNo

Specify the order in which the sorted results are returned. The valid values are:

  • ASC – Ascending. This is the default.
  • DESC – Descending

Required Keys and Roles

  • Developer Key
  • Clerk Key
    • Analytics Role

Return Type

Subscription Detail Result

Supported Output Types

  • application/xml
  • application/json

GET  /1.3/analytics/{role}/subscription/details/nextpmtdate

This method returns a list of subscriptions where the next payment date is within the specified timeframe.

Request Parameters

NameRequiredDescription
accountYes

Return results from the specified account nickname.

endDateYes

Return results ending with the specified date. The date range is inclusive. The date format is yyyy-mm-dd.

startDateYes

Return results beginning with the specified date. The date range is inclusive. The date format is yyyy-mm-dd.

orderByNo

Order the results by the specified data field. The valid values are:

  • AFFILIATE_NICK_NAME – The nickname of the affiliate associated with the subscription. This value can only be used by vendors.
  • CHARGEBACK_COUNT – The number of chargebacks made against the subscription.
  • CHARGEBACK_AMOUNT – The amount of any chargebacks for the subscription to date, in US Dollars.
  • CUSTOMER_FIRST_NAME – The customer's first name. This value can only be used by vendors.
  • CUSTOMER_LAST_NAME – The customer's last name. This value can only be used by vendors.
  • CUSTOMER_DISPLAY_NAME – The display name used by the customer. This value can only be used by vendors.
  • CUSTOMER_EMAIL – The customer's email address. This value can only be used by vendors.
  • DURATION – The length of time the subscription has been active.
  • FUTURE_PAYMENTS_COUNT – The number of payments that will be processed as part of the subscription if no changes are made.
  • INITIAL_SALE_AMOUNT – The amount of the initial sale, in US Dollars.
  • INITIAL_SALE_COUNT – The number of initial sales made.
  • ITEM_NUMBER – The item number for the recurring product in the subscription.
  • NEXT_PAYMENT_DATE – The date on which the next payment for a recurring product is due.
  • PROCESSED_PAYMENTS_COUNT – The number of payments processed as part of the subscription to date.
  • PUB_NICK_NAME – The nickname of the vendor who published the subscription. This value can only be used by affiliates.
  • PURCHASE_DATE – The date of purchase.
  • REBILL_SALE_AMOUNT – The amount of each rebill payment, in US Dollars.
  • REBILL_SALE_COUNT – The number of rebill payments made to date.
  • RECEIPT – The receipt number.
  • REFUND_COUNT – The number of refund requests made for the subscription.
  • REFUND_AMOUNT – The amount of any refunds for the subscription to date, in US Dollars.
  • STATUS – The subscription's current status.
  • SUB_CANCEL_DATE – The date on which a subscription was canceled.
  • SUB_END_DATE – The date on which a subscription will end.
  • SUB_VALUE – The total value of the subscription to date.
sortDirectionNo

Specify the order in which the sorted results are returned. The valid values are:

  • ASC – Ascending. This is the default.
  • DESC – Descending

Required Keys and Roles

  • Developer Key
  • Clerk Key
    • Analytics Role

Return Type

Subscription Detail Result

Supported Output Types

  • application/xml
  • application/json

GET  /1.3/analytics/{role}/subscription/details/startdate

This method returns a list of subscriptions where the subscription start date is within the specified timeframe.

Head Parameters

NameRequiredDescription
pageNo

Return the specified page of results. The default is page 1.

Request Parameters

NameRequiredDescription
accountYes

Return results from the specified account nickname.

endDateYes

Return results ending with the specified date. The date range is inclusive. The date format is yyyy-mm-dd.

startDateYes

Return results beginning with the specified date. The date range is inclusive. The date format is yyyy-mm-dd.

orderByNo

Order the results by the specified data field. The valid values are:

  • AFFILIATE_NICK_NAME – The nickname of the affiliate associated with the subscription. This value can only be used by vendors.
  • CHARGEBACK_COUNT – The number of chargebacks made against the subscription.
  • CHARGEBACK_AMOUNT – The amount of any chargebacks for the subscription to date, in US Dollars.
  • CUSTOMER_FIRST_NAME – The customer's first name. This value can only be used by vendors.
  • CUSTOMER_LAST_NAME – The customer's last name. This value can only be used by vendors.
  • CUSTOMER_DISPLAY_NAME – The display name used by the customer. This value can only be used by vendors.
  • CUSTOMER_EMAIL – The customer's email address. This value can only be used by vendors.
  • DURATION – The length of time the subscription has been active.
  • FUTURE_PAYMENTS_COUNT – The number of payments that will be processed as part of the subscription if no changes are made.
  • INITIAL_SALE_AMOUNT – The amount of the initial sale, in US Dollars.
  • INITIAL_SALE_COUNT – The number of initial sales made.
  • ITEM_NUMBER – The item number for the recurring product in the subscription.
  • NEXT_PAYMENT_DATE – The date on which the next payment for a recurring product is due.
  • PROCESSED_PAYMENTS_COUNT – The number of payments processed as part of the subscription to date.
  • PUB_NICK_NAME – The nickname of the vendor who published the subscription. This value can only be used by affiliates.
  • PURCHASE_DATE – The date of purchase.
  • REBILL_SALE_AMOUNT – The amount of each rebill payment, in US Dollars.
  • REBILL_SALE_COUNT – The number of rebill payments made to date.
  • RECEIPT – The receipt number.
  • REFUND_COUNT – The number of refund requests made for the subscription.
  • REFUND_AMOUNT – The amount of any refunds for the subscription to date, in US Dollars.
  • STATUS – The subscription's current status.
  • SUB_CANCEL_DATE – The date on which a subscription was canceled.
  • SUB_END_DATE – The date on which a subscription will end.
  • SUB_VALUE – The total value of the subscription to date.
sortDirectionNo

Specify the order in which the sorted results are returned. The valid values are:

  • ASC – Ascending. This is the default.
  • DESC – Descending

Required Keys and Roles

  • Developer Key
  • Clerk Key
    • Analytics Role

Return Type

Subscription Detail Result

Supported Output Types

  • application/xml
  • application/json

GET  /1.3/analytics/{role}/subscription/details/status

This method returns subscription status data for a given role.

Valid roles include:

  • AFFILIATE
  • VENDOR

Request Parameters

NameRequiredDescription
accountYes

Return results from the specified account nickname.

statusYes

The subscription status. Valid values include:

  • ACTIVE – The subscription is ongoing.
  • COMPLETED – The final payment for the subscription has been made.
  • CANCELED – The customer has canceled the subscription.
  • RETRY_PAYMENT – A payment error has occurred, and the recurring payment is being retried.
  • REQUEST_NEW_CARD – New payment information is required.
orderByNo

Order the results by the specified data field. The valid values are:

  • AFFILIATE_NICK_NAME – The nickname of the affiliate associated with the subscription. This value can only be used by vendors.
  • CHARGEBACK_COUNT – The number of chargebacks made against the subscription.
  • CHARGEBACK_AMOUNT – The amount of any chargebacks for the subscription to date, in US Dollars.
  • CUSTOMER_FIRST_NAME – The customer's first name. This value can only be used by vendors.
  • CUSTOMER_LAST_NAME – The customer's last name. This value can only be used by vendors.
  • CUSTOMER_DISPLAY_NAME – The display name used by the customer. This value can only be used by vendors.
  • CUSTOMER_EMAIL – The customer's email address. This value can only be used by vendors.
  • DURATION – The length of time the subscription has been active.
  • FUTURE_PAYMENTS_COUNT – The number of payments that will be processed as part of the subscription if no changes are made.
  • INITIAL_SALE_AMOUNT – The amount of the initial sale, in US Dollars.
  • INITIAL_SALE_COUNT – The number of initial sales made.
  • ITEM_NUMBER – The item number for the recurring product in the subscription.
  • NEXT_PAYMENT_DATE – The date on which the next payment for a recurring product is due.
  • PROCESSED_PAYMENTS_COUNT – The number of payments processed as part of the subscription to date.
  • PUB_NICK_NAME – The nickname of the vendor who published the subscription. This value can only be used by affiliates.
  • PURCHASE_DATE – The date of purchase.
  • REBILL_SALE_AMOUNT – The amount of each rebill payment, in US Dollars.
  • REBILL_SALE_COUNT – The number of rebill payments made to date.
  • RECEIPT – The receipt number.
  • REFUND_COUNT – The number of refund requests made for the subscription.
  • REFUND_AMOUNT – The amount of any refunds for the subscription to date, in US Dollars.
  • STATUS – The subscription's current status.
  • SUB_CANCEL_DATE – The date on which a subscription was canceled.
  • SUB_END_DATE – The date on which a subscription will end.
  • SUB_VALUE – The total value of the subscription to date.
sortDirectionNo

Specify the order in which the sorted results are returned. The valid values are:

  • ASC – Ascending. This is the default.
  • DESC – Descending

Required Keys and Roles

  • Developer Key
  • Clerk Key
    • Analytics Role

Return Type

Subscription Detail Result

Supported Output Types

  • application/xml
  • application/json

GET  /1.3/analytics/{role}/subscription/trends

This method returns statistical summations of data for subscriptions over a specified time frame.

Valid roles include:

  • AFFILIATE
  • VENDOR

Head Parameters

NameRequiredDescription
pageNo

Return the specified page of results. The default is page 1.

Request Parameters

NameRequiredDescription
accountYes

Return results from the specified account nickname.

endDateYes

Return results ending with the specified date. The date range is inclusive. The date format is yyyy-mm-dd.

startDateYes

Return results beginning with the specified date. The date range is inclusive. The date format is yyyy-mm-dd.

groupByNo

You can group the results by business date by passing DATE as the value.

productIdNo

Return results on the specified Product ID. You can include multiple parameter/value pairs to return results on multiple Product IDs.

Required Keys and Roles

  • Developer Key
  • Clerk Key
    • Analytics Role

Return Type

Subscription Trends Data

Supported Output Types

  • application/xml
  • application/json

Return Types

This section details the return types used by the Analytics API.

The following return types are used:

Analytics Result

Analytics Result returns use the following format:

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cb="http://www.clickbank.com/api" version="1.0">
<xs:element name="analyticsResult" type="analyticsResult"/>
<xs:complexType name="analyticsResult">
<xs:sequence>
<xs:element name="rows" type="rows" minOccurs="0"/>
<xs:element name="totals" type="totals" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="rows">
<xs:sequence>
<xs:element name="row" type="analyticsResultRow" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="analyticsResultRow">
<xs:sequence>
<xs:element name="dimensionIdentifier" type="xs:string" minOccurs="0"/>
<xs:element name="dimensionValue" type="xs:string" minOccurs="0"/>
<xs:element name="accountNickName" type="xs:string" minOccurs="0"/>
<xs:element name="data" type="analyticsValue" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="analyticsValue">
<xs:sequence>
<xs:element name="attribute" type="analyticAttribute" minOccurs="0"/>
<xs:element name="value" type="xs:anyType" nillable="true" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="totals">
<xs:sequence>
<xs:element name="total" type="analyticsValue" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="analyticAttribute">
<xs:restriction base="xs:string">
<xs:enumeration value="DIMENSION_VALUE"/>
<xs:enumeration value="HOP_COUNT"/>
<xs:enumeration value="ORDER_IMPRESSION"/>
<xs:enumeration value="ORDER_SUBMISSION"/>
<xs:enumeration value="SALE_COUNT"/>
<xs:enumeration value="SALE_AMOUNT"/>
<xs:enumeration value="REFUND_COUNT"/>
<xs:enumeration value="REFUND_AMOUNT"/>
<xs:enumeration value="CHARGEBACK_COUNT"/>
<xs:enumeration value="CHARGEBACK_AMOUNT"/>
<xs:enumeration value="REBILL_COUNT"/>
<xs:enumeration value="REBILL_AMOUNT"/>
<xs:enumeration value="UPSELL_COUNT"/>
<xs:enumeration value="UPSELL_AMOUNT"/>
<xs:enumeration value="GROSS_SALE_COUNT"/>
<xs:enumeration value="GROSS_SALE_AMOUNT"/>
<xs:enumeration value="NET_SALE_COUNT"/>
<xs:enumeration value="NET_SALE_AMOUNT"/>
<xs:enumeration value="EARNINGS_PER_HOP"/>
<xs:enumeration value="HOPS_PER_SALE"/>
<xs:enumeration value="HOPS_PER_ORDER_FORM_IMPRESSION"/>
<xs:enumeration value="ORDER_FORM_SALE_CONVERSION"/>
<xs:enumeration value="REFUND_RATE"/>
<xs:enumeration value="CHARGEBACK_RATE"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>

Analytics Status

Analytics Status returns use the following format:

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cb="http://www.clickbank.com/api" version="1.0">
<xs:element name="AnalyticsStatus" type="AnalyticsStatus"/>
<xs:complexType name="AnalyticsStatus">
<xs:sequence>
<xs:element name="status" type="xs:string"/>
<xs:element name="lastUpdateTime" type="xs:dateTime"/>
</xs:sequence>
</xs:complexType>
</xs:schema>

Subscription Detail Result

Subscription Detail Result returns use the following format:

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cb="http://www.clickbank.com/api" version="1.0">
<xs:element name="subscriptionDetailResult" type="subscriptionDetailResult"/>
<xs:complexType name="subscriptionDetailResult">
<xs:sequence>
<xs:element name="totalCount" type="xs:int"/>
<xs:element name="data" type="subscriptionDetailsDataWrapper" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="subscriptionDetailsDataWrapper">
<xs:sequence>
<xs:element name="row" type="subscriptionDetailsRowData" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="subscriptionDetailsRowData">
<xs:sequence>
<xs:element name="affNickName" type="xs:string" minOccurs="0"/>
<xs:element name="cancelled" type="xs:boolean"/>
<xs:element name="chargebackAmount" type="xs:decimal" minOccurs="0"/>
<xs:element name="chargebackCount" type="xs:int"/>
<xs:element name="countryCode" type="xs:string" minOccurs="0"/>
<xs:element name="currencyCode" type="xs:string" minOccurs="0"/>
<xs:element name="customerDisplayName" type="xs:string" minOccurs="0"/>
<xs:element name="customerFirstName" type="xs:string" minOccurs="0"/>
<xs:element name="customerLastName" type="xs:string" minOccurs="0"/>
<xs:element name="duration" type="xs:int"/>
<xs:element name="email" type="xs:string" minOccurs="0"/>
<xs:element name="frequency" type="xs:string" minOccurs="0"/>
<xs:element name="ftxnId" type="xs:int"/>
<xs:element name="futurePaymentsCount" type="xs:int"/>
<xs:element name="initialSaleAmount" type="xs:decimal" minOccurs="0"/>
<xs:element name="initialSaleCount" type="xs:int"/>
<xs:element name="itemNo" type="xs:string" minOccurs="0"/>
<xs:element name="nextPaymentDate" type="xs:dateTime" nillable="true" minOccurs="0"/>
<xs:element name="paymentMethod" type="xs:string" minOccurs="0"/>
<xs:element name="processedPaymentsCount" type="xs:int"/>
<xs:element name="province" type="xs:string" minOccurs="0"/>
<xs:element name="pubNickName" type="xs:string" minOccurs="0"/>
<xs:element name="purchaseDate" type="xs:dateTime" minOccurs="0"/>
<xs:element name="rebillSaleAmount" type="xs:decimal" minOccurs="0"/>
<xs:element name="rebillSaleCount" type="xs:int"/>
<xs:element name="receipt" type="xs:string" minOccurs="0"/>
<xs:element name="refundAmount" type="xs:decimal" minOccurs="0"/>
<xs:element name="refundCount" type="xs:int"/>
<xs:element name="status" type="xs:string" minOccurs="0"/>
<xs:element name="subCancelDate" type="xs:dateTime" minOccurs="0"/>
<xs:element name="subEndDate" type="xs:dateTime" minOccurs="0"/>
<xs:element name="subValue" type="xs:decimal" minOccurs="0"/>
<xs:element name="timeStr" type="xs:string" minOccurs="0"/>
<xs:element name="trialPeriod" type="xs:string" minOccurs="0"/>
<xs:element name="txnType" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>

Subscription Detail Result Row

Subscription Detail Result Row returns use the following format:

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cb="http://www.clickbank.com/api" version="1.0">
<xs:complexType name="subscriptionDetailsRowData">
<xs:sequence>
<xs:element name="affNickName" type="xs:string" minOccurs="0"/>
<xs:element name="cancelled" type="xs:boolean"/>
<xs:element name="chargebackAmount" type="xs:decimal" minOccurs="0"/>
<xs:element name="chargebackCount" type="xs:int"/>
<xs:element name="countryCode" type="xs:string" minOccurs="0"/>
<xs:element name="currencyCode" type="xs:string" minOccurs="0"/>
<xs:element name="customerDisplayName" type="xs:string" minOccurs="0"/>
<xs:element name="customerFirstName" type="xs:string" minOccurs="0"/>
<xs:element name="customerLastName" type="xs:string" minOccurs="0"/>
<xs:element name="duration" type="xs:int"/>
<xs:element name="email" type="xs:string" minOccurs="0"/>
<xs:element name="frequency" type="xs:string" minOccurs="0"/>
<xs:element name="ftxnId" type="xs:int"/>
<xs:element name="futurePaymentsCount" type="xs:int"/>
<xs:element name="initialSaleAmount" type="xs:decimal" minOccurs="0"/>
<xs:element name="initialSaleCount" type="xs:int"/>
<xs:element name="itemNo" type="xs:string" minOccurs="0"/>
<xs:element name="nextPaymentDate" type="xs:dateTime" nillable="true" minOccurs="0"/>
<xs:element name="paymentMethod" type="xs:string" minOccurs="0"/>
<xs:element name="processedPaymentsCount" type="xs:int"/>
<xs:element name="province" type="xs:string" minOccurs="0"/>
<xs:element name="pubNickName" type="xs:string" minOccurs="0"/>
<xs:element name="purchaseDate" type="xs:dateTime" minOccurs="0"/>
<xs:element name="rebillSaleAmount" type="xs:decimal" minOccurs="0"/>
<xs:element name="rebillSaleCount" type="xs:int"/>
<xs:element name="receipt" type="xs:string" minOccurs="0"/>
<xs:element name="refundAmount" type="xs:decimal" minOccurs="0"/>
<xs:element name="refundCount" type="xs:int"/>
<xs:element name="status" type="xs:string" minOccurs="0"/>
<xs:element name="subCancelDate" type="xs:dateTime" minOccurs="0"/>
<xs:element name="subEndDate" type="xs:dateTime" minOccurs="0"/>
<xs:element name="subValue" type="xs:decimal" minOccurs="0"/>
<xs:element name="timeStr" type="xs:string" minOccurs="0"/>
<xs:element name="trialPeriod" type="xs:string" minOccurs="0"/>
<xs:element name="txnType" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>

Subscription Trends Data

Subscription Trend returns use the following format:

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cb="http://www.clickbank.com/api" version="1.0">
<xs:element name="SubscriptionTrendsData" type="SubscriptionTrendsData"/>
<xs:complexType name="SubscriptionTrendsData">
<xs:sequence>
<xs:element name="totalCount" type="xs:int"/>
<xs:element name="data" type="subscriptionTrendsDataWrapper" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="subscriptionTrendsDataWrapper">
<xs:sequence>
<xs:element name="row" type="subscriptionProductRowData" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="subscriptionProductRowData">
<xs:sequence>
<xs:element name="avgActiveSubCnt" type="xs:decimal" minOccurs="0"/>
<xs:element name="avgSubAge" type="xs:decimal" minOccurs="0"/>
<xs:element name="avgSubValue" type="xs:decimal" minOccurs="0"/>
<xs:element name="businessDate" type="xs:dateTime" minOccurs="0"/>
<xs:element name="cancelSubCnt" type="xs:decimal" minOccurs="0"/>
<xs:element name="description" type="xs:string" minOccurs="0"/>
<xs:element name="duration" type="xs:int"/>
<xs:element name="frequency" type="xs:string" minOccurs="0"/>
<xs:element name="grossSales" type="xs:decimal" minOccurs="0"/>
<xs:element name="initialSaleAmt" type="xs:decimal" minOccurs="0"/>
<xs:element name="initialSaleCnt" type="xs:decimal" minOccurs="0"/>
<xs:element name="itemNo" type="xs:string" minOccurs="0"/>
<xs:element name="netSales" type="xs:decimal" minOccurs="0"/>
<xs:element name="nickname" type="xs:string" minOccurs="0"/>
<xs:element name="productId" type="xs:int"/>
<xs:element name="recurringSaleAmt" type="xs:decimal" minOccurs="0"/>
<xs:element name="recurringSaleCnt" type="xs:decimal" minOccurs="0"/>
<xs:element name="title" type="xs:string" minOccurs="0"/>
<xs:element name="totalSalesCnt" type="xs:decimal" minOccurs="0"/>
<xs:element name="trialPeriod" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>

Usage Information

For additional information about using the Analytics API, see the ClickBank APIs article.

Related Articles

  • Analytics Reporting – This article explains how to use ClickBank's in-UI analytics tools. 

Không có nhận xét nào: