| kind | No | | |
| sort | No | name (default), last_job_oldest (never served first), last_job_newest or created_newest. | |
| limit | No | | |
| cities | No | A service property (not archived) or a job address (job not cancelled) in one of these cities; case is ignored. | |
| cursor | No | | |
| autopay | No | | |
| jobs_to | No | | |
| overdue | No | Has an invoice past its due day with money owed. Needs see_prices. | |
| shop_id | Yes | | |
| has_jobs | No | true: at least one job that is not cancelled. false: none. | |
| tags_all | No | Customers with every one of these tags. | |
| tags_any | No | Customers with at least one of these tags. | |
| has_email | No | Has an email address on the customer or on a current contact. This is not consent to marketing email; Doing Work keeps no marketing consent yet. | |
| has_phone | No | | |
| job_kinds | No | Has a job (not cancelled) of one of these kinds. | |
| jobs_from | No | With job_kinds, job_tags_any or job_summary_contains: only jobs dated on or after this day count. | |
| tags_none | No | Leave out customers with any of these tags. | |
| created_to | No | | |
| owes_money | No | Has sent invoices with money still owed. Needs see_prices. | |
| last_job_to | No | The most recent job is on or before this day. Use it for customers not served since a date; pair with has_jobs:false in a second call for those never served. | |
| plan_status | No | Maintenance plans. active: has an active plan. cancelled: had plans, none active now. none: never had one. any: has or had one. | |
| created_from | No | Customer added on or after this day (shop time zone). | |
| job_tags_any | No | Has a job (not cancelled) with one of these tags, for example the service or trade. | |
| lead_sources | No | | |
| postal_codes | No | A service property or job address in one of these postal codes. End a code with * to match a prefix, for example 838*. | |
| last_job_from | No | The customer's most recent job (not cancelled) is on or after this day, shop time zone. Customers with no jobs are left out. | |
| has_open_quote | No | A quote sent and not yet signed or declined. | |
| min_owed_minor | No | Owes at least this much in total. Needs see_prices. | |
| max_spent_minor | No | Lifetime invoiced at most this. Needs see_prices. | |
| min_spent_minor | No | Lifetime invoiced (sent and later, not voided, tax included) at least this. Needs see_prices. | |
| include_archived | No | Default false. Erased and merged customers are never included. | |
| plan_term_ends_to | No | | |
| plan_term_ends_from | No | Has an active maintenance plan whose current term ends on or after this day (renewals). | |
| job_summary_contains | No | Has a job (not cancelled) whose summary contains these words, for example 'furnace'. | |