Groups

Get Groups

Retrieves the groups.

get/v1/shops/{shopId}/groups

Response

current_pageinteger
first_page_urlstring
frominteger
last_pageinteger
last_page_urlstring
next_page_urlstring
pathstring
per_pageinteger
prev_page_urlstring
tointeger
totalinteger

Example response

{
  "current_page": 1,
  "data": [
    {
      "id": 1,
      "metadata": null,
      "created_at": "2026-08-28T18:23:02.000000Z",
      "updated_at": "2026-08-28T18:23:02.000000Z",
      "name": "Keys & Serials",
      "shop_id": 1,
      "category_id": 1,
      "image_id": null,
      "sort_priority": 0,
      "visibility": "public",
      "deleted_at": null,
      "badge_color": null,
      "badge_text": null,
      "products": [
        {
          "id": 1,
          "group_id": 1,
          "name": "License Keys",
          "stock_count": 0
        }
      ],
      "image": null,
      "category": {
        "id": 1,
        "name": "Digital Goods"
      }
    }
  ],
  "first_page_url": "http://api.sellauth.test/v1/shops/1/groups?page=1",
  "from": 1,
  "last_page": 1,
  "last_page_url": "http://api.sellauth.test/v1/shops/1/groups?page=1",
  "links": [
    {
      "url": null,
      "label": "« Previous",
      "active": false
    },
    {
      "url": "http://api.sellauth.test/v1/shops/1/groups?page=1",
      "label": "1",
      "active": true
    },
    {
      "url": null,
      "label": "Next »",
      "active": false
    }
  ],
  "next_page_url": null,
  "path": "http://api.sellauth.test/v1/shops/1/groups",
  "per_page": 20,
  "prev_page_url": null,
  "to": 1,
  "total": 1
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.