In light of COVID-19, please review the latest announcement regarding the Reserve with Google guidelines for supporting users and merchants during this time. Additionally, since we are operating with a limited support team, it may take longer to connect with us. Thank you for your patience, and we value your partnership.

Method: inventory.partners.merchants.services.create

Creates a new Service of a merchant managed by the specified aggregator, and returns it.

HTTP request

POST https://mapsbooking.googleapis.com/v1alpha/inventory/{parent=partners/*/merchants/*}/services

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

The parent resource name for the merchant who owns this service, in the format of partners/{partner_id}/merchants/{merchantId}.

Query parameters

Parameters
serviceId

string

The service id to use for this service.

Request body

The request body contains an instance of Service.

Response body

If successful, the response body contains a newly created instance of Service.

Authorization Scopes

Requires the following OAuth scope:

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