Organisations
Create Organisation
Creates a single organisation within Crezco. Each organisation should represent a single company in the partner system. Organisations should have a unique partner id provided at creation. The partner id cannot be changed after the Organisation is created.
post/organisations
Request
- Base URLhttps://api.partners.uat.crezco.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
Created
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"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.