# Get items groups list

Gets an items groups list for building a catalog.

Endpoint: GET /v2/project/{project_id}/items/groups
Version: 1.0.0
Security: AuthForClient

## Path parameters:

  - `project_id` (integer, required)
    Project ID.
    Example: 44056

## Response 200 fields (application/json):

  - `groups` (array)
    Example: [{"external_id":"hair","name":"Hair","description":"Hair description","order":1,"level":0,"children":[{"external_id":"background","name":"Background","description":"Background description","order":1,"level":1,"children":[{"external_id":"accessory","name":"Accessory","description":"Accessory","order":1,"level":2,"children":[],"parent_external_id":"background"}],"parent_external_id":"hair"}]},{"external_id":"group_external_id","name":"Super","description":"Super description","order":1,"level":0,"children":[]}]

  - `groups.external_id` (string)
    External group ID.
    Example: "hair"

  - `groups.name` (string)
    Group name.
    Example: "Hair"

  - `groups.description` (string)
    Group description.
    Example: "Hair description"

  - `groups.image_url` (string)
    Image URL.

  - `groups.order` (integer)
    Defines arrangement order.
    Example: 1

  - `groups.level` (integer)
    Group nesting level.

  - `groups.children` (array)
    Child groups.
    Example: [{"external_id":"background","name":"Background","description":"Background description","order":1,"level":1,"children":[{"external_id":"accessory","name":"Accessory","description":"Accessory","order":1,"level":2,"children":[],"parent_external_id":"background"}],"parent_external_id":"hair"}]

  - `groups.children.external_id` (string)
    External group ID.
    Example: "background"

  - `groups.children.name` (string)
    Group name.
    Example: "Background"

  - `groups.children.description` (string)
    Group description.
    Example: "Background description"

  - `groups.children.image_url` (string)
    Group image URL.

  - `groups.children.order` (integer)
    Defines arrangement order.
    Example: 1

  - `groups.children.level` (integer)
    Group nesting level.
    Example: 1

  - `groups.children.children` (array)
    Child groups.
    Example: [{"external_id":"accessory","name":"Accessory","description":"Accessory","order":1,"level":2,"children":[],"parent_external_id":"background"}]

  - `groups.children.children.external_id` (string)
    External group ID.
    Example: "accessory"

  - `groups.children.children.name` (string)
    Group name.
    Example: "Accessory"

  - `groups.children.children.description` (string)
    Group description.
    Example: "Accessory"

  - `groups.children.children.image_url` (string)
    Image URL.

  - `groups.children.children.order` (integer)
    Defines arrangement order.
    Example: 1

  - `groups.children.children.level` (integer)
    Group nesting level.
    Example: 2

  - `groups.children.children.children` (array)
    Child groups.
    Example: []

  - `groups.children.children.parent_external_id` (string)
    Parent external group ID.
    Example: "background"

  - `groups.children.parent_external_id` (string)
    Parent external group ID.
    Example: "hair"

  - `groups.parent_external_id` (string)
    Parent external group ID.


