PUT
/v1/business-entities/{id}
Needs an API key with the update scope.
Path parameters
-
idstring Required
Body parameters
-
entityCodestringA unique code for this customer / supplier. Should be a unique alpha numeric string.
-
namestringA short name for this customer / supplier. This will be the visible name of this business entity.
-
isCustomerbooleanShould be true if this business entity is a customer.
-
isSupplierbooleanShould be true if this business entity is a supplier.
-
legalNamestringLegal company name for this business entity that is going to be used in invoices and billing.
-
vatNumberstringTaxID or VAT number of the business entity.
-
taxOfficestringRegistered Tax office.
-
addressstringBilling Address of the business entity.
-
citystringCity of the registered billing address.
-
countrystringCountry of the registered billing address.
-
districtstringDistrict / region of the registered billing address.
-
statestringState of the registered billing address.
-
postalCodestringPostal code of the registered billing address.
-
emailstringContact person's email
-
phonestringCompany's or contact person's phone
-
ibanstringIBAN number of the bank account of the business entity.
Returns
The customer or supplier as saved.
-
401 - No usable
Authorization: Bearer {token}header (1002). -
403 - The access token is unknown, or lacks the scope this route needs (1001).