> 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-partial-update.md).

# User Registration Step 2(Partial Update)

Use the `PATCH /user/registration/step2/` endpoint to partially update a user's registration details during step 2 of the registration process.

***

#### Request Body

| **Field**       | **Type**        | **Description**                                                                  |
| --------------- | --------------- | -------------------------------------------------------------------------------- |
| `id`            | String          | Unique ID of the user. Must be between 1 and 255 characters.                     |
| `first_name`\*  | String          | First name of the user. Must be between 1 and 255 characters.                    |
| `last_name`\*   | String          | Last name of the user. Must be between 1 and 255 characters.                     |
| `email`         | String ($email) | Email address of the user. Must be at least 1 character. This field is nullable. |
| `account_type`  | String          | Type of account. Must be at least 1 character. This field is nullable.           |
| `date_of_birth` | String ($date)  | User's date of birth in ISO 8601 format.                                         |
| `phone_number`  | String          | User's phone number. Must be at least 1 character.                               |

***

#### Responses

**200 - Success**

The request was successful, and the user registration details were updated.

**Example Response**

```json
{
  "id": "123",
  "first_name": "John",
  "last_name": "Doe",
  "email": "john.doe@example.com",
  "account_type": "Standard",
  "date_of_birth": "1990-01-01",
  "phone_number": "+123456789",
  "is_available": "true"
}
```
