v1
latestOpenAPI 3.0.12026-07-243124341009.5 KBUpdate a Company
Updates information about the specified company.
Query parameters
An indication of whether to bypass the duplicate company name check when updating a company record. If set to true, the duplicate name validation is skipped; if set to false or not provided, the validation is applied and the update is rejected if a duplicate name is found.
Headers
The unique request identifier used to correlate request data with log entries and events, formatted as a UUID.
Unique request identifier (UUID) used to correlate request data with log entries and events.
An integer identifier for the tenant that the request is being made for. Required when Tenant header is not provided.
Tenant company code that determines data access scope during the request. Required when FrontOfficeTenantId header is not provided.
Request body
Example request
{
"id": 12345,
"name": "Acme Corporation",
"mainAddress": {
"addressGuid": "cb63d8fc-6d06-f011-87a7-a0595061251e",
"street1": "123 Main St.",
"street2": "Suite 250",
"city": "Minneapolis",
"state": "MN",
"postalCode": "55435",
"country": "US"
},
"frontOfficeId": 12353,
"link": "https://www.acmecorp.com",
"representativeUsers": [
123498,
123499
],
"sourceName": "Indeed",
"statusId": 128,
"status": "Active",
"industry": "Information Technology",
"origin": "Acme Partner",
"originRecordId": "ACME-12345",
"department": {
"compId": 123456,
"departmentName": "Warehouse",
"officeId": 789012,
"statusId": 263,
"parentDepartmentId": 345678,
"street1": "123 Main Street",
"street2": "Suite 100",
"city": "Eagan",
"stateProvince": "MN",
"postalCode": "55121",
"country": "US",
"geoCode": "241234892",
"departmentPhone": "651-555-1234",
"defaultJobOwnerIDs": [
12345,
67890
],
"origin": "PartnerXYZ",
"weekEndDate": "Friday",
"payPeriod": "Weekly",
"payCycle": "1",
"billingPeriod": "BiWeekly",
"billingCycle": "2",
"originRecordId": "12345-abcde"
},
"weekEndDay": "Friday",
"payPeriod": "Weekly",
"payCycle": "1",
"billingPeriod": "BiWeekly",
"billingCycle": "2",
"isParent": true,
"parentCompanyId": 13839,
"phoneNumber": "305-555-01472"
}Response
The updated company.
Example response
{
"id": 12345,
"name": "Acme Corporation",
"mainAddress": {
"addressGuid": "cb63d8fc-6d06-f011-87a7-a0595061251e",
"street1": "123 Main St.",
"street2": "Suite 250",
"city": "Minneapolis",
"state": "MN",
"postalCode": "55435",
"country": "US"
},
"frontOfficeId": 12353,
"link": "https://www.acmecorp.com",
"representativeUsers": [
123498,
123499
],
"sourceName": "Indeed",
"statusId": 128,
"status": "Active",
"industry": "Information Technology",
"origin": "Acme Partner",
"originRecordId": "ACME-12345",
"department": {
"compId": 123456,
"departmentName": "Warehouse",
"officeId": 789012,
"statusId": 263,
"parentDepartmentId": 345678,
"street1": "123 Main Street",
"street2": "Suite 100",
"city": "Eagan",
"stateProvince": "MN",
"postalCode": "55121",
"country": "US",
"geoCode": "241234892",
"departmentPhone": "651-555-1234",
"defaultJobOwnerIDs": [
12345,
67890
],
"origin": "PartnerXYZ",
"weekEndDate": "Friday",
"payPeriod": "Weekly",
"payCycle": "1",
"billingPeriod": "BiWeekly",
"billingCycle": "2",
"originRecordId": "12345-abcde"
},
"weekEndDay": "Friday",
"payPeriod": "Weekly",
"payCycle": "1",
"billingPeriod": "BiWeekly",
"billingCycle": "2",
"isParent": true,
"parentCompanyId": 13839,
"phoneNumber": "305-555-01472"
}