> For the complete documentation index, see [llms.txt](https://docs.imperialcad.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.imperialcad.app/api-and-integrations/api-integrations/civilian-endpoints/edit-character-general.md).

# Edit Character General

This endpoint allows you to update general civilian character information inside ImperialCAD.

This is intended for integrations that need to keep basic in-game civilian data synced with ImperialCAD, such as address, city, county, occupation, phone number, and postal information.

{% hint style="warning" %}
This endpoint requires **an Advanced** ImperialCAD subscription or higher.
{% endhint %}

### EditCharacter\_General

`POST` `https://imperialcad.app/api/1.1/wf/EditCharacter_General`

***

### Request Body

{% hint style="warning" %}
All values are replaced, sending a empty value or not sending it at all will set those values to empty.&#x20;
{% endhint %}

| Name               | Type   | Description                                              |
| ------------------ | ------ | -------------------------------------------------------- |
| `commId`           | string | Your ImperialCAD community ID                            |
| `users_discordID`  | string | The Discord ID of the user who owns the character        |
| `ssn`              | string | The SSN of the character being updated                   |
| `data`             | object | Object containing the general character fields to update |
| `Fname`            | string | Character First Name                                     |
| `Mname`            | string | Character Middle Name                                    |
| `Lname`            | string | Character Last Name                                      |
| `data.Address`     | string | Character address                                        |
| `data.City`        | string | Character city                                           |
| `data.County`      | string | Character county                                         |
| `data.Occupation`  | string | Character occupation                                     |
| `data.PhoneNumber` | string | Character phone number                                   |
| `data.Postal`      | number | Character postal code                                    |
|                    |        |                                                          |

***

### Headers

Use the standard ImperialCAD API headers shown in the API Getting Started documentation.

***

{% tabs %}
{% tab title="Json Body Example" %}

```lua
{
    "body": {
        "commId": "1723018855907x983892761338183700",
        "users_discordID": "601892764086435851",
        "ssn": "746931332",
        "data": {
            "Fname": "John",
            "Mname": "Noe",
            "Lname": "Doe",
            "Address": "123 Way",
            "City": "Los Santos",
            "County": "Blaine County",
            "Occupation": "Mechanic",
            "PhoneNumber": "123-456-7890",
            "Postal": 12345
        }
    }
```

{% endtab %}

{% tab title="Response of Example" %}

```lua
{
  "status": "success"
}
```

{% endtab %}
{% endtabs %}
