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