---
title: "List customer groups"
method: GET
path: "/customers/groups"
tags: ["Admin Customer Groups"]
---

# List customer groups

`GET /customers/groups`

## Request

- Base URL: `http://localhost:8000/api/admin`
- URL: `http://localhost:8000/api/admin/customers/groups`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bagisto/apis/bagisto-admin-api/docs/customers/groups/get.ts> (a function with typed inputs; its response is checked against the schema)

Paginated, filterable, sortable list. Returns the standard { data, meta } admin envelope.

## Query parameters

- `page` integer
- `per_page` integer
- `code` string
- `name` string
- `is_user_defined` integer
- `sort` 'id' | 'code' | 'name'
- `order` 'asc' | 'desc'

## Response `200`

Paginated customer groups in the { data, meta } envelope.

---

[API](https://skmtc.dev/bagisto/apis/bagisto-admin-api.md) - [All operations](https://skmtc.dev/bagisto/apis/bagisto-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bagisto/apis/bagisto-admin-api/revisions/3198f11be70f?raw)
