list_orders
Find and filter WooCommerce orders by status, customer, date range, or search term. Request only needed fields for efficient results.
Instructions
Search and filter orders. Supports filtering by status, customer, date range, and search term. Use fields param to request only needed fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number | |
| after | No | Orders after date (ISO 8601) | |
| order | No | Sort direction | |
| before | No | Orders before date (ISO 8601) | |
| fields | No | Comma-separated fields to return (default: id,number,status,date_created,total,customer_id,billing,line_items) | |
| search | No | Search term | |
| status | No | Order status | |
| orderby | No | Sort field | |
| customer | No | Customer ID | |
| per_page | No | Items per page (max 100) |