Method: inventory.partners.merchants.services.patch

  • Updates an existing Service for a merchant managed by a specified aggregator.

  • Uses an HTTP PATCH request to the specified URL with path and query parameters.

  • Requires a request body containing the Service object with fields to update, and returns the updated Service object in the response.

  • Needs authorization with the https://www.googleapis.com/auth/mapsbooking scope.

Updates an existing Service of a merchant managed by the specified aggregator, and returns it.

HTTP request

PATCH https://mapsbooking.googleapis.com/v1alpha/inventory/{service.name=partners/*/merchants/*/services/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
service.name

string

The service resource name, which has the format of partners/{partner_id}/merchants/{merchantId}/services/{serviceId}.

Query parameters

Parameters
updateMask

string (FieldMask format)

The specific fields to update for the service.

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 Service.

Response body

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

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/mapsbooking