export_amazon_items_csv
Extract detailed Amazon order items into a CSV file for expense tracking, inventory analysis, or accounting exports. Visits each order's invoice page to capture item-level data including product details, pricing, seller information, and order financials.
Instructions
Export detailed Amazon order items to CSV file. Visits each order's invoice page to extract item-level data (~2s/order). CSV columns: Order ID, Date, ASIN, Product Name, Condition, Quantity, Unit Price, Item Total, Seller, Subscribe & Save, Order financials (Subtotal, Shipping, Tax, VAT, Promotion, Total), Status, Address (7 lines), Payment Method, Product URL, Order URL, Region. Ideal for expense tracking, inventory analysis, or accounting exports.
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 process. Recommended: 50-100 per batch due to ~2s/order extraction time. | |
| 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}-items-{year}-{date}.csv |