# View Listing Collection Group Endpoint

<p class="callout warning">This endpoint is only available if `aerocargo/listing-collections` is installed.</p>

## Structure

### Listing Collection Group

<table border="1" id="bkmrk-name-type-descriptio" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 33.3731%;"></col><col style="width: 33.3731%;"></col><col style="width: 33.3731%;"></col></colgroup><tbody><tr><td>**Name**  
</td><td>**Type**  
</td><td>**Description**  
</td></tr><tr><td>`key`</td><td>string</td><td>The key of the listing collection group</td></tr><tr><td>`name`</td><td>string</td><td>The name for the listing collection group</td></tr><tr><td>`listings`</td><td>array</td><td>An array of [Listing](https://support.aerocommerce.com/books/api/page/view-listing-collection-group-endpoint#bkmrk-listing) objects</td></tr></tbody></table>

### Listing

<table border="1" id="bkmrk-name-type-descriptio-1" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 33.3731%;"></col><col style="width: 33.3731%;"></col><col style="width: 33.3731%;"></col></colgroup><tbody><tr><td>**Name**  
</td><td>**Type**  
</td><td>**Description**  
</td></tr><tr><td>`id`</td><td>int</td><td>The id of the listing</td></tr><tr><td>`product_id`</td><td>int</td><td>The id of the product linked to the listing</td></tr><tr><td>`sort`</td><td>int</td><td>The sort of the listing within the group</td></tr></tbody></table>

## Example Request

```
GET /api/listing-collection-groups/{key}
```

## Example Response

```json
{
    "key": "api",
    "name": "API Test",
    "listings": [
        {
            "id": 1,
            "product_id": 1
        }
    ]
}
```