Copy PageUpdate Lead Businesspatch 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 businesslinkedInUrlstring | nullLinkedIn URL of the business (e.g. linkedin.com/company/acme-corp). A bare slug is also accepted. Pass null to clear.industrystringlength ≥ 1Industry the business operates inmanagementSoftwarestring | nullManagement software usedspecialtystring | nullPrimary specialty name. Ignored when specialties is provided.specialtiesarray of objectsREPLACE all specialties for this lead. Pass [] to clear all. At most one item may have isPrimary true; if none are flagged, the first item is promoted to primary.specialtiesADD objectpaymentProviderstring | nullPayment provider usedcbctScannerstring | nullCBCT scanner model. Pass null to clear.scansPerWeekinteger | null≥ 0Approximate number of CBCT scans per week. Pass null to clear.operatoriesinteger | null≥ 0Number of operatories (treatment rooms) in the practice. Pass null to clear.officeHoursobject | nullPractice office hours keyed by day of week (MON–SUN). Times are 24h HH:mm in practice-local time. Each day is either { closed: true } or { open, close } with open earlier than close. Partial weeks are allowed. REPLACE semantics: the submitted object replaces stored hours (not merged). Pass null to clear.officeHours object | nullbestTimeToVisitobject | nullPreferred visit window: optional days[], startTime/endTime as 24h HH:mm, and an optional note (max 120). REPLACE semantics: the submitted object replaces the stored value (not merged). Pass null to clear.bestTimeToVisit object | nullleadChannelstringenumAcquisition channel for the leadREFERRALINSIDE_SALESOUTSIDE_SALESINBOUND_ORGANICEMAIL_MARKETINGPAID_ADVERTISINGPARTNER_REFERRALCOMMUNITYPRESSREFERRALOTHERUNKNOWNORGANIC_SEARCHDIRECTORGANIC_SOCIALPAID_SEARCHPAID_SOCIALSPONSORED_CONTENTREVIEW_SITESCONTENT_BLOGWEBINAR_EVENTINTEGRATION_MARKETPLACEAFFILIATEFREE_TRIALIN_APP_REFERRALDSO_CONNECTPROGNOSIXShow 26 enum valuesleadSourcestring | null^[a-z0-9-]+$Source within the channel (lowercase-hyphenated)leadCampaignstring | null^[a-z0-9-]+$Campaign identifier (lowercase-hyphenated)leadMediumstring | null^[a-z0-9-]+$Marketing medium within the channel (lowercase-hyphenated, e.g. email, cpc)leadContentstring | null^[a-z0-9-]+$Differentiates similar content/links within the same campaign (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 type The 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 stringprimaryOwnerUserIdstring | nullUser ID of the primary owner. Required when ownerUserIds has more than one entry; must be one of ownerUserIds. Pass null when 0–1 owners.contactIdsarray of stringsContact IDs to link to this business (replaces all)contactIdsADD stringleadEventIdstring | nullID of the lead event to enroll this business in. Pass null to un-enroll.Responses 200OK 401Unauthorized 404Not Found 500Internal Server ErrorUpdated 5 months ago Get Lead BusinessDelete Lead BusinessDid this page help you?YesNo