FieldEx Developer
developer notes

Patch Site Contacts

The PartialUpdate API enables you to modify specific fields in site contact records selectively. This is beneficial when you need to update a site contact without altering all the fields.

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

Headers

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

Example Body

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

Example Response

// 400 Response Code
  
{
    "message": "contact not found with ext : contact1"
}