Customers
Get Customer Stats
Changed onRetrieves customer counts for the last 30 days and the store balance customers hold.
get/v1/shops/{shopId}/customers/stats
Request
- Base URLhttps://api.sellauth.com
- AuthHTTP bearer
Path parameters
shopIdinteger required
The shop ID.
Query parameters
timezonestring
Time zone the 30-day window starts in, at midnight 29 days ago. Defaults to UTC.
Example:Europe/Berlin
Request body
Response
Example response
{
"new_30d": 3,
"buyers": 0,
"repeat_buyers": 0,
"subscribers": 0,
"balance_holders": 2,
"balance_usd": 200
}Changes
- info
endpoint added
- info