AI-generated Key Takeaways
-
Deletes an existing Merchant along with its services and availability, allowing for re-addition with the same data.
-
Uses a DELETE request to the specified URL with the merchant's resource name as a path parameter.
-
Requires an empty request body and returns an empty response body upon successful deletion.
-
Needs authorization with the
https://www.googleapis.com/auth/mapsbooking
scope.
Deletes an existing Merchant
managed by the specified aggregator. All the merchant's services and availability will be disabled, too. If you re-add the merchant later, the same set of services and availability slots will appear.
HTTP request
DELETE https://mapsbooking.googleapis.com/v1alpha/inventory/{name=partners/*/merchants/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
The resource name of the merchant to delete. In the format of partners/{partner_id}/merchants/{merchantId} |
Request body
The request body must be empty.
Response body
If successful, the response body is empty.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/mapsbooking