Update Lead BusinessAsk AIpatch 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 businessPRIVATEDSOMULTI_LOCATIONPRIVATEOTHERAllowed:DSOMULTI_LOCATIONPRIVATEOTHERlocationAddressobject | 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 businessindustrystring | nullIndustry the business operates inmanagementSoftwarestring | nullManagement software usedpaymentProviderstring | nullPayment provider usedleadChannelstringenumAcquisition channel for the leadREFERRALINSIDE_SALESOUTSIDE_SALESPARTNER_REFERRALCOMMUNITYPRESSREFERRALOTHERUNKNOWNORGANIC_SEARCHDIRECTORGANIC_SOCIALPAID_SEARCHPAID_SOCIALSPONSORED_CONTENTREVIEW_SITESCONTENT_BLOGWEBINAR_EVENTINTEGRATION_MARKETPLACEAFFILIATEFREE_TRIALIN_APP_REFERRALShow 21 enum valuesleadSourcestring | nullSource within the channel (lowercase-hyphenated)leadCampaignstring | nullCampaign identifier (lowercase-hyphenated)merchantIdstring | 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 26 days ago