List customers
servicefusion_list_customersList customers (newest id order unless sorted). Filter by name, contact, address, city, postal code, phone, email, tags or last-serviced date. Add expand=contacts,locations,custom_fields to include them. GET /customers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | City (exact match). | |
| name | No | Customer name (partial match). | |
| page | No | Page number, from 1 (default 1). Pass the previous reply's next_page. | |
| sort | No | Sort fields, comma-separated; a leading - sorts descending (for example -updated_at,customer_name). | |
| tags | No | Tags, comma-separated (exact match). | |
| No | Email (exact match). | ||
| phone | No | Phone (partial match). | |
| expand | No | Extra data to include: contacts, contacts.phones, contacts.emails, locations, custom_fields. | |
| fields | No | Only return these fields, comma-separated (for example id,customer_name). Default: all. | |
| address | No | Street address (partial match). | |
| per_page | No | Results per page, 1-50 (default 10). | |
| postal_code | No | Postal/ZIP code (exact match). | |
| last_serviced_to | No | Last serviced on or before this date, yyyy-mm-dd. | |
| contact_last_name | No | Contact last name (partial match). | |
| contact_first_name | No | Contact first name (partial match). | |
| last_serviced_from | No | Last serviced on or after this date, yyyy-mm-dd. |