v2

latestOpenAPI 3.0.0Apache 2.02026-07-2638645559.8 KB
Organizations

Update an organization

Update an organization by id

post/apps/{appId}/organizations/{id}

Path parameters

appIdinteger required

The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have several Sinao applications. To retrieve the identifiers of its applications, you must call the endpoint /apps.

idinteger required

ID of organization

Query parameters

namestring

Company name visible on the app

billing_namestring

Company name for billing

string byte
OR
string uri
legal_formstring
country_iso2string ISO 3166-1 alpha-2
founding_datestring date
founding_locationstring
dissolution_datestring date
vat_systemstring
closeaccounting_periodstring
national_idstring

Unique National Id, format by country. In France : [0-9]{9} with last number as security key.

vat_idstring nullable

European VAT Id. In France : FR [0-9]{2} [0-9]{9}

code_nafstring nullable

French NAF Code

number_of_employeesstring
sloganstring
rcsstring

French. Registre du Commerce et des Sociétés

greffestring

French. Tribunal de commerce

capitalinteger
metadatastring[] nullable
relationshipobject nullable

Updates the contact's relationship information

namestring
phonesstring[]

Replace all phones

emailsstring[]

Replace all emails

phonestring

Add one phone

emailstring

Add one email

nicstring

Establishment number (french NIC)

Update of a contact card containing the billing address of the individual and his contact information

namestring
phonesstring[]

Replace all phones

emailsstring[]

Replace all emails

phonestring

Add one phone

emailstring

Add one email

nicstring

Establishment number (french NIC)

Updates main establishment information (first establishment)

Response

Success

idinteger
namestring

Company name visible on the app

billing_namestring

Company name for billing

logostring uri
legal_formstring
country_iso2string ISO 3166-1 alpha-2
founding_datestring date
founding_locationstring
dissolution_datestring date
vat_systemstring
closeaccounting_periodstring
national_idstring

Unique National Id, format by country. In France : [0-9]{9} with last number as security key.

tax_idstring

International Tax Id

vat_idstring

European VAT Id. In France : FR [0-9]{2} [0-9]{9}

code_nafstring

French NAF Code

number_of_employeesstring
sloganstring

Free variable

rcsstring

French. Registre du Commerce et des Sociétés

greffestring

French. Tribunal de commerce

capitalinteger

Capital in cents