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).
Filters
Filter withq[<attribute>_<predicate>]=value, for example q[name_cont]=…. Send a list as q[<attribute>_in][]=a&q[<attribute>_in][]=b. How filters work.
created_at, id, name, updated_at. Prefix a field with - to sort descending.Authorizations
Secret API key for admin access
JWT token for admin user authentication
Headers
Bearer token for admin authentication
Query Parameters
Matches any of name (partial, case-insensitive).
Page number
Number of records per page
Attribute filters, as q[<attribute>_<predicate>]=value. See Filters above for the list.
Sort by field. Prefix with - for descending (e.g., -created_at).
Comma-separated list of fields to include. id is always included.

