/api/v1/misc/google-business
Get service list
Endpoint:GET /api/v1/misc/google-business/location/service-list
Response follows Google’s shape: typically
name for the resource and serviceItems as an array of service objects (structure depends on Google’s API version).
Update service list
Endpoint:PATCH /api/v1/misc/google-business/location/service-list
The location must allow edits to the service list (
canModifyServiceList in Google’s metadata). Otherwise you receive a validation error explaining that the feature is not available for that location.
Best practice: read the current list first and patch from those objects instead of constructing service items from scratch.
If your UI allows service editing, fetch metadata from GET /location and gate editing by metadata.canModifyServiceList.
Example
The exact shape ofserviceItems depends on Google’s API. The most reliable approach is to GET the current list, edit objects in your application, then PATCH the array back.
Category and service identifiers must be valid for your business type. Prefer copying working objects from GET and changing only the fields you need.
Related
- Food menus for restaurant menu content.