FieldEx Developer
developer notes

Create Customer Contact

The CustomerContactCreate API allows you to create a new contact for a customer. The request body includes full name, email, phone number and other relevant information.

Method API Endpoint
POST {{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": null,
    "enableCustomerPortal": false,
    "customer": {
        "customerExternalId": "ARFA1"
    },
    "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": null,
    "designation": "test",
    "enableCustomerPortal": false
  },
  "login": "test@custella.com",
  "gender": "",
  "geoFence": null
}