Export report
export_reportExport a CSV of transactions, refunds, receipts, return labels or carrier adjustments for an optional date range and search. Returns a link; no matching rows yield empty true.
Instructions
A CSV of the transactions, refunds, receipts, return labels or carrier adjustments report.
Builds the same spreadsheet as the Export button of the chosen Reports table, with every column of the matching list_ tool, for an optional date range and search. Returns a link to the CSV; no matching rows return empty true and no link. Shipments have their own tool, export_shipments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | newest | |
| report | Yes | ||
| search | No | Free text, as in the report's search box. | |
| to_date | No | Last day, YYYY-MM-DD, included. | |
| from_date | No | First day, YYYY-MM-DD, in your timezone. |