Skip to main content

Customers API

List Customers

number
default:"1"
Page number
number
default:"20"
Results per page
Search by name, email, or company
string
default:"totalSpent"
Sort field: totalSpent, totalTransactions, lastPurchaseAt, createdAt

Get Customer

Returns customer profile with:
  • Contact information
  • Transaction summary (total spent, count, avg, last purchase)
  • Linked subscriptions
  • Recent transactions
  • Health score and risk indicators

Customer Health Score

Included in the customer detail response: