Xentral icon

Xentral

Interact with Xentral ERP API

Actions196

Contact → Create

AI-generated

Summary

Create a new contact for a specified customer in Xentral by providing the customer's ID and the contact's name, along with optional additional contact details.

Inputs

  • Customer ID (required) — The ID of the parent customer under which the contact will be created.
  • Name (required) — The name of the contact person to be created.
  • Additional Fields — Optional collection of additional contact-related fields such as birthday, email, phone numbers, address, language, marketing preferences, groups, position, salutation, and others.

Output shape

a single JSON object representing the created contact record with its details as returned by the Xentral API

The output includes all the fields set during creation and those automatically generated by the API. The operation creates one contact per execution. Errors will be thrown for missing required fields or API failures.

Examples

Example 1: Create a contact named 'John Doe' for customer with ID '123' providing email and phone.

Set Customer ID to '123', Name to 'John Doe', enter email as 'john.doe@example.com', and phone as '+1234567890' in Additional Fields.

Links

Discussion