# Add Customers to Group

## Overview

This endpoint allows you to add one or more existing Customers to a single existing Customer Group. In order to consume the endpoint, you must:

- Be an authenticated user.

For information on how you can authenticate, see [Authentication](https://developer.sellercloud.com/dev-article/authentication/)

As soon as you authenticate and receive a valid token, you need to pass it on to the service call.

## Endpoint

An example of such an endpoint for **XX** server is:

`https://xx.api.sellercloud.com/rest/api/Customers/CustomersGroups/{id}/Customers`

## Request

- **Method Type:** **HttpPost**  
- **Authorization:** Use **Bearer Token** (where ‘Token’ is the token received from token authentication)  
- **Header info:** **Content-Type: application/json**  
- **Parameters:** ID of an existing Customer Group  
- **Request Body:**

```json
{
  "CustomersIDs": [
    0
  ]
}
```

| **Parameter**  | **Data Type** | **Description**                                                    | **Is Required** |  
|----------------|-----------------|---------------------------------------------------------------------|-----------------|  
| CustomerIDs    | int             | The numerical IDs of the customers being added to the group provided in the path. | true            |

## Response

- If the user is authenticated and the update is successful, then the response will be **Status Code 200 => OK**  
- If the user is not authenticated, then the response will be **Status Code 401 => Not Valid Token**  
- In case of an error, the response will be **Status Code 500 => Internal Server Error**
