The Business Profile Performance API is now launched! Migration work is required.
Review the deprecation schedule and instructions to migrate over to new v1 APIs from older deprecated v4 API.
Help us improve the food menu experience by filling in this survey to better understand what place, menu, and dish attributes you can provide about the merchants you support

Method: locations.updateAttributes

Stay organized with collections Save and categorize content based on your preferences.

Update attributes for a given location.

HTTP request

PATCH https://mybusinessbusinessinformation.googleapis.com/v1/{attributes.name=locations/*/attributes}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
attributes.name

string

Required. Google identifier for this location in the form of locations/{locationId}/attributes.

Query parameters

Parameters
attributeMask

string (FieldMask format)

Required. Attribute name of attributes that you'd like to update. Represented by attributes/{attribute}.

Updates: All attributes provided in the attributes field that you would like to update must be set in the attributeMask. Attributes set in the above list but not in the attributeMask will be ignored.

Deletes: If you'd like to delete certain attributes, they must be specified in the attributeMask with no matching entry in the attributes list. If you'd like to delete all attributes set on a location, you should look up all the applicable attributes for the location and then add them to the attributeMask with an empty attributes field.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of Attributes.

Response body

If successful, the response body contains an instance of Attributes.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/business.manage

For more information, see the OAuth 2.0 Overview.