Analytics

Get Top Customers

Retrieves the top 10 customers by revenue.

get/v1/shops/{shopId}/analytics/top-customers

Response

object[] required

Example response

[
  {
    "id": 1,
    "email": "customer@sellauth.test",
    "discord_id": null,
    "discord_username": null,
    "last_completed_at": null,
    "newsletter_at": null,
    "total_spent_usd": "14.99",
    "total_completed": 1
  },
  {
    "id": 3,
    "email": "reseller@sellauth.test",
    "discord_id": null,
    "discord_username": null,
    "last_completed_at": null,
    "newsletter_at": null,
    "total_spent_usd": "0.00",
    "total_completed": 1
  }
]

Changes

No recorded changes to this endpoint across all 1 revision of this API.