Plunet icon

Plunet

Get and Set Data for Plunet BusinessManager

Actions156

Customer Contact → Create Customer Contact

AI-generated

Summary

Creates a new Customer Contact in Plunet by inserting it via the insert2 operation.

Inputs

  • customerID (required) — Numeric customer identifier; required for insert2
  • additionalFields — Object containing optional contact attributes such as addressID, costCenter, email, etc.
  • addressID — Identifier of the address associated with the contact
  • costCenter — Cost center code for the contact
  • email — Email address of the contact
  • externalID — External identifier for the contact
  • fax — Fax number of the contact
  • mobilePhone — Mobile phone number of the contact
  • name1 — First name or primary name field
  • name2 — Second name or surname field
  • phone — Phone number of the contact
  • status — Contact status from the ContactPersonStatus enum
  • supervisor1 — First supervisor identifier
  • supervisor2 — Second supervisor identifier
  • userId — User identifier linked to the contact

Output shape

a single created Customer Contact record

Returns the newly created item with its fields; if continueOnFail is enabled, failures are returned as {success:false,error:...} instead of throwing.

Examples

Example 1: Add a new contact for customer 12345 with basic email and phone

Set Customer ID to 12345, add Email and Phone in Additional Fields, leave other fields blank, and execute.

Discussion