List customer groups
Returns the customer groups configured for the current store. Groups
segment customers for targeted promotions (see the customer_group
promotion rule) and reporting. The list endpoint never embeds the
member list — fetch a single group with ?expand=customers if you
need them inline, or query /admin/customers?customer_group_id_in=…
for paginated membership.
Required scope: read_customers (for API-key authentication).
Authorizations
Secret API key for admin access
JWT token for admin user authentication
Headers
Bearer token for admin authentication
Query Parameters
Page number
Number of records per page
Filter by name (contains)
Sort by field. Prefix with - for descending (e.g., -created_at).
Comma-separated list of fields to include. id is always included.

