Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

List customer report

Returns a paginated list of users, each row combining the user's profile and communication permissions with order statistics aggregated over all of the user's orders. Registered and guest users are both included.

Results are ordered by id ascending by default. Sort by any field of the row except logged_ip with sort (e.g. ?sort=-total_order_amount).

The default page size is 1000 rows; limit accepts up to 10000.

Aggregates count every order regardless of status, and filters never change them — see Order Aggregates in the Customer Report section.

No dynamic settings or environment variables affect this endpoint.

get
/users/report/
Authorizations
AuthorizationstringRequired

Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.

Query parameters
pageintegerOptional

The page number to return.

Default: 1
sortstringOptional

Orders the results by one or more fields. Separate multiple fields with commas. Prefix a field with a hyphen (-) for descending order.

Example: -id
limitinteger · max: 10000Optional

The number of rows to return per page. Values above 10000 are capped at 10000; 0 or a non-numeric value falls back to the default.

Default: 1000
idintegerOptional

Filter by the exact user identifier.

Example: 1001
emailstringOptional

Case-insensitive exact match on the user's email address records.

Example: jane.doe@example.com
first_namestringOptional

Case-insensitive exact match on the first name.

last_namestringOptional

Case-insensitive exact match on the last name.

phonestringOptional

Case-insensitive exact match on the phone number.

genderstring · enumOptional

The gender of the user.

Possible values:
email_allowedbooleanOptional

Filter by email communication permission.

sms_allowedbooleanOptional

Filter by SMS communication permission.

call_allowedbooleanOptional

Filter by phone call communication permission.

is_activebooleanOptional

Filter by whether the user account is active.

is_customerbooleanOptional

true or True selects users with at least one order; any other value selects users without an order.

platformstringOptional

Exact match on attributes.register_client_type, the client the user registered from.

date_joinedstring · date-timeOptional

Exact registration date and time.

date_joined__gtstringOptional

Users registered after this date or date-time. A date is read as midnight UTC.

Example: 2026-01-01
date_joined__gtestringOptional

Users registered on or after this date or date-time. A date is read as midnight UTC.

date_joined__ltstringOptional

Users registered before this date or date-time. A date is read as midnight UTC.

date_joined__ltestringOptional

Users registered on or before this date or date-time. A date is read as midnight UTC.

last_loginstring · date-timeOptional

Exact last login date and time.

last_login__gtstring · date-timeOptional

Users who last logged in after this date-time.

last_login__gtestring · date-timeOptional

Users who last logged in on or after this date-time.

last_login__ltstring · date-timeOptional

Users who last logged in before this date-time.

last_login__ltestring · date-timeOptional

Users who last logged in on or before this date-time.

date_of_birthstring · dateOptional

Users born on this date.

Example: 1990-05-17
date_of_birth__gtstring · dateOptional

Users born after this date.

date_of_birth__gtestring · dateOptional

Users born on or after this date.

date_of_birth__ltstring · dateOptional

Users born before this date.

date_of_birth__ltestring · dateOptional

Users born on or before this date.

modified_datestring · date-timeOptional

Exact modification date and time of the user record.

modified_date__gtstring · date-timeOptional

Users whose record was modified after this date-time.

modified_date__gtestring · date-timeOptional

Users whose record was modified on or after this date-time.

modified_date__ltstring · date-timeOptional

Users whose record was modified before this date-time.

modified_date__ltestring · date-timeOptional

Users whose record was modified on or before this date-time.

groupintegerOptional

Users that are members of this group identifier.

group__notintegerOptional

Users that are not members of this group identifier.

Responses
200

A paginated list of customer report rows.

application/json

A paginated list of customer report rows.

countintegerOptional

Total number of rows matching the request.

nextstring · nullableOptional

URL of the next page, or null if this is the last page.

previousstring · nullableOptional

URL of the previous page, or null if this is the first page.

get/users/report/
GET /api/v1/remote/1/users/report/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "count": 1,
  "next": null,
  "previous": null,
  "results": [
    {
      "id": 1001,
      "first_name": "Jane",
      "last_name": "Doe",
      "gender": "female",
      "date_of_birth": "1990-05-17",
      "date_joined": "2024-01-10T09:28:55.952093Z",
      "phone": "05551234567",
      "email": "jane.doe@example.com",
      "email_allowed": true,
      "sms_allowed": false,
      "call_allowed": null,
      "whatsapp_allowed": null,
      "last_login": "2024-03-15T10:21:18.863686Z",
      "user_type": "registered",
      "total_order_amount": "1250.40",
      "total_order_discount_amount": "85.00",
      "last_order_date": "2024-03-14T18:02:11.120045Z",
      "total_order_count": 3,
      "total_orderitem_count": 5,
      "logged_ip": "203.0.113.10"
    }
  ]
}

Last updated

Was this helpful?