AI-generated Key Takeaways
-
The Business Information API now uses
https://mybusinessbusinessinformation.googleapis.com/v1/as the base endpoint and requires enabling in the GCP Console. -
Location data structure has been updated, renaming or relocating fields like
locationName,websiteUrl,primaryPhone,primaryCategory, andaddress. -
A new
Attributesobject andgetGoogleUpdatedendpoint have been introduced for managing business attributes, andattributes.listnow includes ashow_allparameter. -
Service area businesses (
CUSTOMER_LOCATION_ONLY) no longer require an address but need aregionCode, whileLocationKey,PriceLists, andLocationStateobjects are deprecated. -
Some endpoints have been moved or deprecated, including
googleLocations.report,accounts.locations.findMatchingLocations, andTransferLocation.
Change log
v1
API Access
The Business Information API will need to be enabled from the GCP Console. The OAuth scope remains the same.
Endpoint URL
Endpoints for all business information, attributes, categories, chains and locations search are accessible at https://mybusinessbusinessinformation.googleapis.com/v1/ instead of https://mybusiness.googleapis.com/v4/
The path name for locations endpoints has changed from accounts/accountId/locations/locationId to locations/locationId
Location Updates
locationNamehas been renamed totitle.websiteUrlhas been renamed towebsiteUri.accounts.locations.listandlocations.getnow requires a readMask.primaryPhoneandadditionalPhonesare now part of PhoneNumbers.primaryCategoryandadditionalCategoriesare now part of Categories.addresshas been renamed tostorefrontAddress.accounts.locations.clearAssociationhas been updated tolocations.clearLocationAssociation.serviceItemsare now read and updated directly from the Location object.
Attributes
- New
Attributesobject and corresponding locations.attributes.getGoogleUpdated endpoint to get the Google updated version. attributes.listhas ashow_allparameter allowing clients to see all the various attributes that can be set for a particular category and region combination.
Service Area Businesses
- Businesses of type
CUSTOMER_LOCATION_ONLYare no longer required to fill out an address. - Addition of
regionCodein ServiceAreaBusiness. It must be set for businesses of typeCUSTOMER_LOCATION_ONLY.
Deprecated Endpoints and Objects
- Removal of
LocationKeyobject. The existing fields have been moved into Metadata. - Removal of
PriceListsobject. It has been replaced by FoodMenus and ServiceLists. - Removal of
LocationStateobject. Most of the existing fields have been moved into Metadata. Although Metadata contains a boolean to see whether the merchant has full control of the business (voice of merchant), more detailed suspension and verification related fields have been moved to the Verifications API. Use method locations.getVoiceOfMerchantState for next steps in order to gain voice of merchant. - The endpoints
googleLocations.reportandaccounts.locations.findMatchingLocationshave been deprecated. TransferLocationendpoint has been moved tolocations.transferunder the Account Management API.