Management API
Customer

List Customers

4min

Show all customers the requesting manager has access permissions to.

URL: /api/v1/customers/

Method: GET

Query Parameters:

Pagination:

Default pagination is 20 results per page.

  • limit - Number of results to return per page.
    • Example: limit=20
  • offset - The initial index from which to return the results.
    • Example: offset=21

Filtering:

The results can be filtered by various attributes on customer or related to the customer.

Possible filters:

  • label__in
  • email
  • email__icontains
  • email__startswith
  • company_name__icontains
  • first_name__icontains
  • last_name__icontains
  • phone__icontains
  • reference
  • reference__icontains
  • reference__startswith
  • account
  • account__name
  • account__name__icontains
  • account__code
  • account__code__icontains
  • account__description
  • account__description__icontains
  • account__phone
  • account__phone__icontains
  • account__address
  • account__address__icontains
  • account__email
  • account__email__icontains
  • account__reference
  • account__reference__icontains
  • metadata

Success Response:

Code: 200 OK

Content Examples:

JSON