List customers
markettime_list_customersList customers (retailers/buyers) with name, email, address, status (ACTIVE, INACTIVE, LEAD), customer number and salesperson. Filters: name (contains), state, status, modified_since. The customers' own API keys are never returned. POST /customers/get.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Customer name contains this text. | |
| state | No | State equals this value. | |
| offset | No | Start index (default 0). Pass the previous reply's next_offset. | |
| status | No | ||
| filters | No | Extra filters, all combined with AND. Use field names from the record shape of this tool's replies. | |
| page_size | No | Rows per page, 1-250 (default 50). | |
| sort_field | No | customerNumber: Rep Group accounts only; accountNumber and shipToAccountNumber: Manufacturer accounts only. | |
| rep_group_id | No | Manufacturer accounts only: limit to this Rep Group's customers. | |
| modified_since | No | Only customers changed on or after this date. | |
| sort_direction | No | Sort direction (MarketTime's default is descending). |