search_orders
Search every year of Amazon order history by product title, order number, address, or recipient, and get each matching item with its order number and date.
Instructions
Search every year of the Order history for Orders by product title, Order number, address, or recipient, as the search box on Your Orders does, getting each matching Item with its Order's number and date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | The Amazon site to read, e.g. `amazon.de`, since each site has its own orders. By default, the user's default site (see `check_session`). | |
| limit | No | Stop fetching result pages once at least this many results are collected. Whole pages are fetched, so the batch can hold up to a page more than `limit`. `None` fetches every page. | |
| query | Yes | What to search for: words from a product title, an Order number, or a name or address an Order was sent to. | |
| cursor | No | The `cursor` of the previous batch, to fetch the next one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | The results in this batch. | |
| cursor | No | Pass this back as `cursor` to the same call to fetch the next batch. A JSON-safe `dict` to keep as it is, not to build or change. `None` when there are no more results. | |
| has_more | No | `True` if there are more results to fetch with `cursor`. |