Method: inventory.partners.merchants.services.patch

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