All operations
COMPANY
Partially updates a company
PATCH
/api/v2/companies/{id}Authentication
Choose one supported method for this request.
Parameters
idpathinteger · int32requiredThe ID of the company to update.
Request body
The fields and values to update.
updatedFieldsstring[]requiredsourcewellMemberNostringsourcewellMembershipDatestring · date-timenullableassignedNationalAccountIdsinteger[]mailingbooleanlongitudenumber · doublelatitudenumber · doublecompanyNamestringlegalNamestringnullableaccountNostringstatusstringaddress1stringaddress2stringaddress3stringcitystringstatestringzipstringcountystringcountrystringphonestringfaxstringwebstringrecordTypeIdinteger · int32branchIdinteger · int32parentIdinteger · int32sourceIdinteger · int32assignedRepPrimaryIdinteger · int32assignedRepSecondaryIdsinteger[]
Responses
Company updated successfully.
Standard response envelope
isSuccessmessageerrorsdataRead the result from data. When isSuccess is false, errors lists what went wrong. Handling errors
companyIdinteger · int32parentIdinteger · int32recordTypeIdinteger · int32branchIdinteger · int32companyNamestringlegalNamestringaccountNostringaddress1stringaddress2stringaddress3stringcitystringstatestringzipstringcountystringcountrystringmailingbooleannullablelatitudenumber · doublelongitudenumber · doublephonestringfaxstringwebstringlinkedbooleansourceIdinteger · int32statusstringenteredstring · date-timelastModifiedstring · date-timecompletebooleanparentNamestringparentAccountNostringassignedRecordTypestringassignedBranchstringassignedNationalAccountsstringassignedNationalAccountIdsstringassignedSourcestringbuyIDstring