BriteCore
string · uuid · requiredstring · enum boolean · required
enable_business_location_with_all_counties
POST
/api/v2/business_locations/enable_business_location_with_all_counties
Enable a business location and auto-populate all counties for that state. Parameters ---------- locationId : str, required The ID of the business location to enable country : str, optional Country code ('US' or 'CA'), defaults to 'US' Returns ------- success : bool True if successful message : str Success or error message data : dict Updated location with counties
enable_business_location_with_all_counties › Request Body
Request payload for /api/v2/business_locations/enable_business_location_with_all_counties
location_idThe ID of the business location to enable
countryCountry code ('US' or 'CA'), defaults to 'US'
Enum values:
US
CA
enable_business_location_with_all_counties › Responses
200
Response payload for /api/v2/business_locations/enable_business_location_with_all_counties
required
object · required
Business location with all counties enabled
successWhether the operation was successful
retrieve_business_locations
POST
/api/v2/business_locations/retrieve_business_locations
The states the site writes in (checked business locations), by name, each with its counties.
Code
retrieve_business_locations › Request Body
Request schema for /api/v2/business_locations/retrieve_business_locations. Takes no parameters.
retrieve_business_locations › Responses
200
Response schema for /api/v2/business_locations/retrieve_business_locations: the states the site writes in (checked business locations), by name, each with every county it holds, as classic's gateway retrieveBusinessLocations sends them to the contact Assignments page. Needs britecore (r).
