v2

latestOpenAPI 3.0.0Apache 2.02026-07-2638645559.8 KB
Establishments

Update an establishment

Update an establishment by id

post/apps/{appId}/establishments/{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 an establishment

Query parameters

namestring
phonesstring[]
emailsstring[]
nicstring nullable

Establishment number (french NIC)

latitudeinteger
longitudeinteger
street_numberstring
routestring
route2string
localitystring
sublocalitystring
administrative_area_level3string
administrative_area_level2string
administrative_area_level1string
countrystring
countryiso2string
postal_codestring
formatted_addressstring

Address formatted for intelligent analysis by google maps

Response

Success

idinteger nullable

The identifier of the establishment can be absent if the data comes from the INSEE database. In this case, it is not editable

namestring

Establishment name

nicstring nullable

Establishment number (french NIC)

emailsstring[]
phonesstring[]