Go to Tracker Support

Tracker Support

Search for any help questions or topics.

Customers / Browse

Browse for customer records based on a filter (optional)
Avatar
Will Hemming
Updated 5 years ago
Type of request: GET
Mandatory Fields: None

If you make a GET request to this endpoint, by default you will receive all customer records, excluding archived records, sorted by customer name alphabetically.

The filter options are as follows:

customer_nameSearch (partial match) for the string in the customer_name field (e.g. "BROWN" will return "BROWN LTD, BROWNS LTD, NUTBROWN LTD)
customer_acc_codeSearch (partial match) for the string in the customer_acc_code field
customer_citySearch (exact match) for records matching the string provided
customer_post_codeSearch (partial match) for the string in the customer_post_code field
contact_emailSearches contact records for a partial match in the email field
customer_archivedSet to 1 if you want archived records to be included in the results (set to 0 by default)
pages_pageCan be used to paginate the results (ie. set to '1' for page 1, '2' for page 2, etc)

Response

dataAn array of customer records
countThe total count of records which match your filter(s)
pageWhich page of records this correlates to (add 1 and re-call to get the next page)

😞 😐 😃