Method: inventory.partners.merchants.create

Creates a new Merchant managed by the specified aggregator, and returns it.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

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

Query parameters

Parameters
merchantId

string

The merchant id to use for this merchant.

Request body

The request body contains an instance of Merchant.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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