---
title: "Get Groups"
method: GET
path: "/v1/shops/{shopId}/groups"
tags: ["Groups"]
---

# Get Groups

`GET /v1/shops/{shopId}/groups`

Retrieves the groups.

## Response `200`

- object
  - `current_page` integer
  - `data` object[]
    - `id` integer
    - `metadata` string
    - `created_at` string
    - `updated_at` string
    - `name` string
    - `shop_id` integer
    - `category_id` integer
    - `image_id` string
    - `sort_priority` integer
    - `visibility` string
    - `deleted_at` string
    - `badge_color` string
    - `badge_text` string
    - `products` object[]
      - `id` integer
      - `group_id` integer
      - `name` string
      - `stock_count` integer
    - `image` string
    - `category` object
      - `id` integer
      - `name` string
  - `first_page_url` string
  - `from` integer
  - `last_page` integer
  - `last_page_url` string
  - `links` object[]
    - `url` string
    - `label` string
    - `active` boolean
  - `next_page_url` string
  - `path` string
  - `per_page` integer
  - `prev_page_url` string
  - `to` integer
  - `total` integer

---

[API](https://skmtc.dev/sellauth/apis/sellauth-api.md) · [All operations](https://skmtc.dev/sellauth/apis/sellauth-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sellauth/sellauth-api/revisions/945e6d749d68/schema)
