Companies
Add Company
post/companies
Request
- Base URLhttps://www.harborcompliance.com/api/v1
- AuthOAuth 2Authorization code/api/v1/oauth/authorizeToken URL/api/v1/oauth/access_token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"domicile": {
"id": "123e4567-e89b-12d3-a456-426614174000"
},
"principal_address": {
"administrative_area": {
"id": "123e4567-e89b-12d3-a456-426614174000"
},
"country": {
"id": "123e4567-e89b-12d3-a456-426614174000"
}
},
"mailing_address": {
"administrative_area": {
"id": "123e4567-e89b-12d3-a456-426614174000"
},
"country": {
"id": "123e4567-e89b-12d3-a456-426614174000"
}
}
}Response
Created
Example response
{
"data": {
"domicile": {
"id": "123e4567-e89b-12d3-a456-426614174000"
},
"principal_address": {
"administrative_area": {
"id": "123e4567-e89b-12d3-a456-426614174000"
},
"country": {
"id": "123e4567-e89b-12d3-a456-426614174000"
}
},
"mailing_address": {
"administrative_area": {
"id": "123e4567-e89b-12d3-a456-426614174000"
},
"country": {
"id": "123e4567-e89b-12d3-a456-426614174000"
}
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.