Subscribe the specified clients of the buyer to the auction package. If a client in the list does not belong to the buyer, an error response will be returned, and all of the following clients in the list will not be subscribed. Subscribing an already subscribed client will have no effect.
HTTP request
POST https://authorizedbuyersmarketplace.googleapis.com/v1alpha/{auctionPackage=buyers/*/auctionPackages/*}:subscribeClients
Required. Name of the auction package. Format: buyers/{accountId}/auctionPackages/{auctionPackageId}
Request body
The request body contains data with the following structure:
JSON representation
{"clients": [string]}
Fields
clients[]
string
Optional. A list of client buyers to subscribe to the auction package, with client buyer in the format buyers/{accountId}/clients/{clientAccountId}. The current buyer will be subscribed to the auction package regardless of the list contents if not already.
Response body
If successful, the response body contains an instance of AuctionPackage.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["This endpoint enables subscribing specified clients of a buyer to a given auction package."],["It involves sending a POST request to a specific URL with the auction package name in the path."],["The request body includes an optional list of client buyers to subscribe, with the current buyer automatically included if not already."],["A successful response returns the AuctionPackage object."],["Authorization requires the `https://www.googleapis.com/auth/authorized-buyers-marketplace` scope."]]],[]]