> For the complete documentation index, see [llms.txt](https://requestmechanic.gitbook.io/request-mechanic-api-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://requestmechanic.gitbook.io/request-mechanic-api-documentation/user/user-registration-step-2-update.md).

# User Registration Step 2(Update)

PUT /user/registration/step2/

The `PUT /user/registration/step2/` endpoint allows a user to complete the second step of their registration by providing additional personal details.

***

#### Parameters:

**Request Body**

| **Field**       | **Type** | **Description**                 | **Constraints**        |
| --------------- | -------- | ------------------------------- | ---------------------- |
| `id`            | String   | Unique identifier for the user. | Max: 255, Min: 1       |
| `first_name`\*  | String   | The user's first name.          | Max: 255, Min: 1       |
| `last_name`\*   | String   | The user's last name.           | Max: 255, Min: 1       |
| `email`         | String   | The user's email address.       | Email format, Nullable |
| `account_type`  | String   | The user's account type.        | Min: 1, Nullable       |
| `date_of_birth` | String   | The user's date of birth.       | Date format            |
| `phone_number`  | String   | The user's phone number.        | Min: 1                 |

***

#### Responses:

**200 - Success**

The registration step was successfully updated.

**Example Response**

```json
{
  "id": "12345",
  "first_name": "John",
  "last_name": "Doe",
  "email": "john.doe@example.com",
  "account_type": "regular",
  "date_of_birth": "1990-01-01",
  "phone_number": "1234567890",
  "is_available": true
}
```

**Response Fields**

| **Field**       | **Type** | **Description**                     |
| --------------- | -------- | ----------------------------------- |
| `id`            | String   | Unique identifier for the user.     |
| `first_name`    | String   | The user's first name.              |
| `last_name`     | String   | The user's last name.               |
| `email`         | String   | The user's email address.           |
| `account_type`  | String   | The user's account type.            |
| `date_of_birth` | String   | The user's date of birth.           |
| `phone_number`  | String   | The user's phone number.            |
| `is_available`  | Boolean  | Indicates if the user is available. |
