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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-17 UTC.
[null,null,["Last updated 2024-10-17 UTC."],[[["Creates a new Merchant managed by a specified aggregator."],["Uses an HTTP POST request to `https://mapsbooking.googleapis.com/v1alpha/inventory/{parent=partners/*}/merchants`."],["Requires path and query parameters including `parent` for partner ID and `merchantId` for the merchant."],["Request body should contain a `Merchant` object and a successful response returns the created `Merchant` object."],["Needs `https://www.googleapis.com/auth/mapsbooking` authorization scope."]]],[]]