# 2.2 Create User

**Request**

| Method | URL                |
| ------ | ------------------ |
| POST   | /merchant/v1/users |

```
{
    "email": "newuser123@examplee.com",
    "name": "New User",
    "surname": "User",
    "password": "newuserpassword",
    "merchant_id": 1,
    "gsm_number": "9787867"
}

```

**Response**

| Status | Response                                                                                                                                                                                                                                          |
| ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 200    | <p><br></p><p>{</p><p>  "id": 2,</p><p>  "email": "newuser@example.com",</p><p>  "name": "New User",</p><p>  "merchantId": 123,</p><p>  "createdDate": "2022-01-01T12:00:00",</p><p>  "updatedDate": "2022-01-01T12:00:00"</p><p>}</p><p><br></p> |
| 403    | <p><br></p>                                                                                                                                                                                                                                       |
| 400    | <p><br></p>                                                                                                                                                                                                                                       |
| 401    | <p><br></p>                                                                                                                                                                                                                                       |
| 401    | <p><br></p>                                                                                                                                                                                                                                       |
| 500    | <p><br></p>                                                                                                                                                                                                                                       |
