CRM

Update a lead contact

Updates an existing lead contact. Fields customer_id, contact_type, and is_primary cannot be changed via this endpoint. For email rows, country_code and is_whatsapp are rejected.

put/admin/crm/leads-contacts/{id}

Request

  • Base URL: https://demo.splynx.com/api/2.0
  • URL: https://demo.splynx.com/api/2.0/admin/crm/leads-contacts/{id}
  • Auth: HTTP basic

Path parameters

idnumber double required
Example:1

The ID of the desired lead contact.

Request body

contact_valuestring

New contact value (email or phone).

labelstring

New label.

country_codestring

New country code (phone rows only).

is_whatsappboolean

New WhatsApp flag (phone rows only).

contact_person_idnumber nullable

New contact person reference.

metadataobject nullable

New JSON metadata.

Example request

{
  "contact_value": "+380501239999",
  "label": "mobile",
  "country_code": "UA",
  "contact_person_id": 1,
  "metadata": {}
}

Changes

No recorded changes to this operation across all 1 revision of this API.