Creates a new customer/supplier

Adds a new customer/supplier with the provided details.

Request

This endpoint expects an object.
account_idintegerRequired

Associated account.

namestringRequired

Name of the customer or supplier.

is_customerbooleanOptional

Indicates if the entity is a customer.

is_supplierbooleanOptional

Indicates if the entity is a supplier.

responsible_user_idintegerOptional

ID of the user responsible for this entity.

payment_termstringOptional

Payment terms for the customer or supplier.

contactslist of objectsOptional

List of contacts associated with the customer or supplier.

invoicing_detailslist of objectsOptional

List of invoicing details associated with the customer or supplier.

additionalobjectOptional

Additional data associated with the customer or supplier.

Response

Product created successfully.

account_idinteger

Associated account.

customer_supplier_idinteger

Unique identifier for the customer or supplier.

namestring

Name of the customer or supplier.

is_customerbooleanOptional

Indicates if the entity is a customer.

is_supplierbooleanOptional

Indicates if the entity is a supplier.

responsible_user_idintegerOptional

ID of the user responsible for this entity.

payment_termstringOptional

Payment terms for the customer or supplier.

contactslist of objectsOptional

List of contacts associated with the customer or supplier.

invoicing_detailslist of objectsOptional

List of invoicing details associated with the customer or supplier.

additionalobjectOptional

Additional data associated with the customer or supplier.