Skip to main content
GET
Get top customers by spend

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

orgId
string
required

Organization ID

Example:

"org-abc123"

Query Parameters

limit
number

Maximum number of top customers to return (1–200).

Example:

10

Response

Top customers and total count

items
object[]
required

Top customers ordered by spend DESC.

totalCustomers
number
required

Total number of customers in the organization.

Example:

1342