Admin Reporting: Sales
Reporting — sales export (csv, xls, xlsx)
Streams a sales stat as a csv, xls or xlsx download (the admin Export button). REST only; send the Accept header matching the requested format. ?type= chooses the stat group; ?format= accepts csv, xls or xlsx (default csv).
get/reporting/sales/export
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
typestring
Stat group.
format'csv' | 'xls' | 'xlsx'
Example:csv
Export format: csv, xls or xlsx. Defaults to csv.
startstring date
Start date.
endstring date
End date.
channelstring
Channel code.
Response
AdminReportingSales collection
Changes
No recorded changes to this operation across all 8 revisions of this API.