Skip to main content

Export Subscription Sales Report

GET 

/api/reports/subscription-sales/export

The same rows as Get Subscription Sales Report, as a download with a final Total line. Without format it is a CSV of every column for the grouping (honouring filter_groups, search and sort). With format=xlsx or format=csv it is the table export: the chosen columns, the scope (all, filtered, or current_page with the row keys), and a Total line that is the report's own totals when every row is exported and the exported rows' sum otherwise. The SKU and Product name columns appear when grouping by sku or sku_channel; the Channel column when grouping by channel or sku_channel. Share cells are empty when the channel cannot identify subscription orders.

Required scope: reports:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Requires access to the Subscription Sales report and the reports scope.

Request​

Responses​

OK

Response Headers
    Content-Type