CustomerAdd

With this function a new customer can be created. The return value is the ID of the new data record and the customer number (cid). If an identical customer data record already exists, its ID is returned.

The customer number (cid) may only consist of numbers and must be unique. If this field is left empty, LiveConfig automatically assigns the next available customer number.

Request

Field

Type

RegExp

Null?

Description

auth

AuthData

no

Authentication data

cid

long

^\d{1,18}$

yes

Customer number

owner_c

string

^[\w.-]{12}$

no

Contact ID of the new customer

admin_c

string

^[\w.-]{12}$

no

Contact ID of the technical contact

billing_c

string

^[\w.-]{12}$

no

Contact ID of the billing contact

locked

integer

^[012]$

no

Status (0 = active, 1 = locked, 2 = suspended)

Response

Field

Type

Null?

Description

id

string

no

data record ID

cid

long

no

Customer number

The data record ID is customer-specific encrypted.


Last updated on Apr 30, 2020.
next: CustomerDelete
previous: ContactGet