Create a new customer in LogicTrade.When the company name is filled, the customer will be added as a business client. If the company name is not filled, the customer will be added as an indivual. In that case the first and last name are required.The address object is used for both postal and visiting addresses. The country must be added based on the ISO 3166-1 alfa-2 code.After successful creation the customer object will be returned.
Request
Authorization
Add parameter in header
api-key
Example:
api-key: ********************
Body Params application/json
gender
string
optional
The customer's gender male/female/unknown
title
string
optional
The title of the relation.
initials
string
optional
The customer's initials.
firstName
string
required
The customer's first name.
infix
string
optional
The infix of the relation. A new one will be created if the infix does not exist.
lastName
string
required
The customer's last name.
companyName
string
optional
Only filled if it is a business customer and contains the customer's company name.