# Create Upsell Group Endpoint

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

#### Structure

<table border="1" id="bkmrk-name-type-descriptio" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 25.0298%;"></col><col style="width: 25.0298%;"></col><col style="width: 25.0298%;"></col><col style="width: 25.0298%;"></col></colgroup><tbody><tr><td>**Name**  
</td><td>**Type**  
</td><td>**Description**  
</td><td>**Required**  
</td></tr><tr><td>`key`</td><td>int</td><td>The key of the upsell group</td><td>Yes</td></tr><tr><td>`name`</td><td>string</td><td>The name for the upsell group</td><td>Yes</td></tr></tbody></table>

#### Example Request

```
POST /api/upsell-groups/
```

```json
{
    "key": "api-test",
    "name": "API Test",
}
```

#### Example Response

```json
{
    "upsellGroup": {
        "key": "api-test"
    }
}
```