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