AI-generated Key Takeaways
-
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
parentfor partner ID andmerchantIdfor the merchant. -
Request body should contain a
Merchantobject and a successful response returns the createdMerchantobject. -
Needs
https://www.googleapis.com/auth/mapsbookingauthorization scope.
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 |
The parent resource name for the partner who owns this merchant, in the format of |
Query parameters
| Parameters | |
|---|---|
merchant |
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