export_amazon_orders_csv
Download Amazon order history as CSV files with order details, item counts, addresses, and subscription data for analysis or record-keeping across 16 regional sites.
Instructions
Export Amazon orders summary to CSV file. Fast extraction from order list page (~0.5s per 10 orders). CSV columns: Order ID, Date, Total, Status, Item Count, Address (7 lines), Subscribe & Save, Platform, Region, Order URL. Defaults to ~/Downloads with auto-generated filename. For large accounts (500+ orders), use max_orders to batch exports and avoid timeouts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Year to export (defaults to current year) | |
| region | Yes | Amazon region code | |
| end_date | No | End date in ISO format (YYYY-MM-DD) | |
| max_orders | No | Maximum number of orders to export. Recommended: 100-200 per batch for large accounts. | |
| start_date | No | Start date in ISO format (YYYY-MM-DD) | |
| output_path | No | Full path to save CSV file. Defaults to ~/Downloads/amazon-{region}-orders-{year}-{date}.csv |