FieldEx Developer
developer notes

Patch Contacts

The PartialUpdate API lets you modify specific fields in a customer's contact record selectively. This is handy when you only need to update certain details without affecting all the fields.

Method API Endpoint
PATCH {{endpoint}}/api/ext/contacts

Headers

Key Value
Content-Type application/json
Authorization Bearer {{token}}

Example Request

{
    "title": "",
    "fullName": "edited",
    "email": "test@custella.com",
    "phone": "1221212323233",
    "type": "PUBLIC",
    "department": null,
    "designation": "Mr.",
    "fax": null,
    "externalId": "contact1",
    "enableCustomerPortal": false,
    "customer": {
        "customerExternalId": "C1234"
    },
    "site": null,
    "project": null
}

Example Response

//status - 200
{
    "contactLite": {
        "customer": {
            "id": 80797
        },
        "email": "test@custella.com",
        "fullName": "test",
        "phone": "0123456789",
        "title": "Mr.",
        "type": "PUBLIC",
        "id": "8958",
        "designation": "test",
        "enableCustomerPortal": false
    },
    "login": null,
    "gender": null,
    "dateFormatString": null,
    "timezone": null,
    "geoFence": null
}