Customers
List Customers
Retrieve a paginated list of customers
GET
Use this endpoint when listing or searching customers (e.g., admin CRM or reporting). Returns a paginated list with support for filtering and sorting.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/flexprice/flexprice/llms.txt
Use this file to discover all available pages before exploring further.
Query Parameters
The number of customers to return per page. Must be between 1 and 1000.
The number of customers to skip before starting to return results. Used for pagination.
The field to sort by (e.g.,
created_at, name, email).The sort order. Must be either
asc (ascending) or desc (descending).Filter by customer status (e.g.,
published, draft, archived).Filter by specific customer IDs. Provide multiple IDs as comma-separated values.
Filter by external customer IDs. Provide multiple IDs as comma-separated values.
Filter by a single external customer ID.
Filter by customer email address.
Filter by parent customer IDs to retrieve child customers.
Expand related resources in the response (e.g.,
parent_customer).Response
An array of customer objects.
Pagination metadata.
Pagination
The list endpoint supports cursor-based pagination usinglimit and offset parameters:
- First Page: Set
limitto the desired page size (default: 50) andoffsetto 0 - Next Pages: Increment
offsetbylimitfor each subsequent page - Check Total: Use
pagination.totalto determine if more pages exist