# Quick-selecting groups for Site Service

Source: https://dev.arcxp.com/site-service/developer-docs/quick-selecting-groups-for-site-service/

Site Service has the option to create section groups, also known as quick combos. These groups are a fast way to have website sections in one place. You can add the sections from any website within the organization.

For reference on the API calls, see [Site Service API](https://dev.arcxp.com/api/site-service/)

When you configure section groups, they appear in Composer on the Circulation tab. You have the option to choose from Manual Selection and Quick Selection. Your Section Groups appear in the list.

![Site Service section groups](https://dev.arcxp.com/images/site-service/quick-selection.png)

## Creating section groups

To create a section group using a curl command, specify the `_id` and the `display_name` for your section group.

Remember to set the headers in your call. You must have an authorization token and the `Content-Type` to send the request.

```js
curl -X PUT \
  'https://api.{org}.arcpublishing.com/site/v3/section-group/{section_group_id}' \
  -H 'Content-Type: application/json' \
  -H '***Authorization Credentials***' \
  -d '{"_id": "{id}", "display_name": "{section_group_name}"'
```

Example:

![Creating Section Groups Example](https://dev.arcxp.com/images/site-service/PutMethodExample.png)

## Adding sections to section groups

You can add sections from different websites to your section group. Execute the following call for each of the sections that you want to add in the section group.

`https://api.{org}.arcpublishing.com/site/v3/section-group/{_id}/section`

> **Note**: The URL must contain the same parameters as the JSON statement.

```js
curl -X PUT \
  'https://api.{org}.arcpublishing.com/site/v3/section-group/{group_id}/section?section_id={section_id}&website_id={website_id}' \
  -H 'Content-Type: application/json' \
  -H '***Authorization Credentials***' \
  -d '{"_id": "{group_id}", "_website": "{website_id}", "_section": "{section_id}"}'
```

![Adding Sections to Section Groups](https://dev.arcxp.com/images/site-service/Put-alc-sectiongroup.png)

Now your section group is visible in the selector when clicking on the section group.

![Quick Selection](https://dev.arcxp.com/images/site-service/quickselection.png)

## Deleting section groups

To delete a website section from a section group, use the following curl command:

```js
curl -X DELETE \
  'https://api.{org}.arcpublishing.com/site/v3/section-group/{section_group_id}/section?section_id={section_id}&website_id={website_id}' \
  -H '***Authorization Credentials***'
```

To delete the entire section group, use the following curl command:

```js
curl -X DELETE \
  'https://api.{org}.arcpublishing.com/site/v3/section-group/{section_group_id}
  -H '***Authorization Credentials***'
```
