Update Lead BusinessCopy Pagepatch https://api.prahsys.com/merchant/n1/leads/businesses/{leadBusinessId}Update a lead business by IDPath ParamsleadBusinessIdstringrequiredlength ≥ 1The lead business idBody Paramsnamestringlength ≥ 1Name of the businessaccountTypestringenumAccount type of the businessPRIVATEPRIVATEPRIVATE_CHILD_LOCATIONDSO_PARENTDSO_PRACTICEDSO_CHILD_LOCATIONCOMMUNITY_CLINICGOVERNMENT_CLINICSCHOOLGPOShow 9 enum valueslocationAddressobject | nullLocation address of the business. Pass null to remove.locationAddress object | nullheadquartersAddressobject | nullHeadquarters address of the business. Pass null to remove.headquartersAddress object | nullphoneNumberstring | nullPhone number of the businessemailstring | nullEmail of the businesswebsitestring | nullWebsite of the businessindustrystringlength ≥ 1Industry the business operates inmanagementSoftwarestring | nullManagement software usedspecialtystring | nullSpecialty of the business within its industrypaymentProviderstring | nullPayment provider usedleadChannelstringenumAcquisition channel for the leadREFERRALINSIDE_SALESOUTSIDE_SALESPARTNER_REFERRALCOMMUNITYPRESSREFERRALOTHERUNKNOWNORGANIC_SEARCHDIRECTORGANIC_SOCIALPAID_SEARCHPAID_SOCIALSPONSORED_CONTENTREVIEW_SITESCONTENT_BLOGWEBINAR_EVENTINTEGRATION_MARKETPLACEAFFILIATEFREE_TRIALIN_APP_REFERRALDSO_CONNECTShow 22 enum valuesleadSourcestring | nullSource within the channel (lowercase-hyphenated)leadCampaignstring | nullCampaign identifier (lowercase-hyphenated)numberOfLocationsinteger | nullNumber of locations for this businessnumberOfProvidersinteger | nullNumber of providers at this businessdsoSizeLead DSO SizenullenumDSO size category — only applicable for DSO Parent account typeThe size category for a DSO Parent account. EMERGING (3-9 locations), MID_MARKET (10-75 locations), ELITE (76+ locations), MOBILE (mobile practice)EMERGINGEMERGINGMID_MARKETELITEMOBILEmerchantIdstring | nullMerchant ID if the lead has signed upownerUserIdsarray of stringsUser IDs to assign as owners (replaces all)ownerUserIdsADD stringcontactIdsarray of stringsContact IDs to link to this business (replaces all)contactIdsADD stringResponses 200OK 401Unauthorized 404Not Found 500Internal Server ErrorUpdated 10 days ago