Update customer/supplier

Path parameters

customer_supplier_idstringRequired

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

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 updated successfully
account_idinteger
Associated account.
customer_supplier_idinteger
Unique identifier for the customer or supplier.
namestring
Name of the customer or supplier.
is_customerboolean or null
Indicates if the entity is a customer.
is_supplierboolean or null
Indicates if the entity is a supplier.
responsible_user_idinteger or null
ID of the user responsible for this entity.
payment_termstring or null
Payment terms for the customer or supplier.
contactslist of objects or null
List of contacts associated with the customer or supplier.
invoicing_detailslist of objects or null
List of invoicing details associated with the customer or supplier.
additionalobject or null
Additional data associated with the customer or supplier.

Errors