Skip to main content

Create a new customer

Create a new customer

Request Body — REQUIRED
name string — REQUIRED
type integer — REQUIRED

Possible values: [0, 1]

email string
contact_address object[]
id integer
address object
id integer
address string
zip_code string
region string
country string
type integer
is_default boolean
registration string
company_name string
enabled boolean — REQUIRED
contact_phones object[]
id integer
type integer
country string
value string
is_default boolean
display_in_doc boolean
civility string

Possible values: [M., Mme]

Responses
201

Returns the created customer

Schema — OPTIONAL
id integer — OPTIONAL
name string — OPTIONAL
phone1 string — OPTIONAL
phone2 string — OPTIONAL
phone3 string — OPTIONAL
type integer — OPTIONAL
email string — OPTIONAL
contact_address object[] — OPTIONAL
id integer — OPTIONAL
address object — OPTIONAL
id integer — OPTIONAL
address string — OPTIONAL
zip_code string — OPTIONAL
region string — OPTIONAL
country string — OPTIONAL
type integer — OPTIONAL
is_default boolean — OPTIONAL
fax string — OPTIONAL
registration string — OPTIONAL
company_name string — OPTIONAL
reference string — OPTIONAL
enabled boolean — OPTIONAL
debt string — OPTIONAL
turnover string — OPTIONAL
debit string — OPTIONAL
credit string — OPTIONAL
balance string — OPTIONAL
contact_phones object[] — OPTIONAL
id integer — OPTIONAL
type integer — OPTIONAL
country string — OPTIONAL
value string — OPTIONAL
is_default boolean — OPTIONAL
display_in_doc boolean — OPTIONAL