Admin Customers

Paginated, filterable, sortable list. Returns the standard { data, meta } admin envelope; each row carries the linked group as a nested object.

get/customers

Request

Query parameters

pageinteger

Page number

per_pageinteger

Items per page (default 10, max 50).

querystring
Example:john

Quick search: matches email or full name (partial), combined with OR.

namestring

Filter by first/last name (partial).

emailstring

Filter by email (partial).

phonestring

Filter by phone (partial).

customer_group_idinteger

Filter by customer group ID.

statusinteger

Filter by status (0/1).

channel_idinteger

Filter by channel ID.

sort'id' | 'email' | 'first_name'

Sort column.

order'asc' | 'desc'

Sort direction.

Response

Paginated customers in the { data, meta } envelope.

Changes