v1
latestOpenAPI 3.0.12026-07-2428103163.2 KBOrganisations
Update Organisation
Update the details of a single organisation. This is a PUT request which uses upsert semantics. The organisation ID is validated first, if not found an error will be returned - this method cannot be used to create organisations. All changed fields will be updated in the Crezco system. Missing Users will be marked as Active: false. Users without a UserId will be created. Users with a UserId will be updated.
put/organisations/{organisationId}
Path parameters
organisationIdstring uuid required
The unique Crezco ID for an organisation
Headers
Crezco-Versionstring
The requested API version
Request body
Example request
{
"organisationId": "BC77508B-E3C8-4A03-8D96-3045B0DBD499",
"partnerClientId": "Your-Unique-ID",
"companiesHouseNumber": "11752182",
"companyName": "Crezco LIMITED",
"users": [
{
"email": "firstname.lastname@example.org",
"firstName": "Kah Hoo",
"lastName": "Ly",
"role": "Admin"
}
]
}Response
OK
Example response
{
"organisationId": "BC77508B-E3C8-4A03-8D96-3045B0DBD499",
"partnerClientId": "Your-Unique-ID",
"companiesHouseNumber": "11752182",
"companyName": "Crezco LIMITED",
"users": [
{
"email": "firstname.lastname@example.org",
"firstName": "Kah Hoo",
"lastName": "Ly",
"role": "Admin"
}
]
}