Customers

Update a customer contact

Updates an existing contact. Fields customer_id, contact_type, and is_primary cannot be changed via this endpoint (the last is owned by the create/promote flow). For email rows, country_code and is_whatsapp are rejected.

put/admin/customers/customer-contacts/{id}

Request

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

Path parameters

idnumber double required
Example:1

The ID of the desired customer 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": "beta@example.com",
  "label": "billing",
  "country_code": "UA",
  "contact_person_id": 1,
  "metadata": {}
}

Changes

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