Dev Docs

Register External Customer

Method

r7Connector.registerExternalCustomer(customer);

Parameters

id, externalId, name, street, postalCode, city, country, email, phone, taxId, vatId, comments

Description

Registers an external customer with the given information. Only id and name are mandatory fields.

Example customer object to pass to the function:


{
id: "991001",
name: "John Doe",
street: "Friedrichstraße 204",
postalCode: "10117",
city: "Berlin",
country: "Germany",
email: "[email protected]",
phone: "+49 30 800 989 31 0",
taxId: "123/456/789",
vatId: "DE123456789",
comments: "Contact by phone preferred.",
taxExempt: false
}