Accepts the proposal at the given revision number. If the revision number in the request is behind the latest from the server, an error message will be returned. This call updates the Proposal.state from BUYER_ACCEPTANCE_REQUESTED to FINALIZED; it has no side effect if the Proposal.state is already FINALIZED and throws exception if the Proposal.state is not either BUYER_ACCEPTANCE_REQUESTED or FINALIZED. Accepting a proposal means the buyer understands and accepts the Proposal.terms_and_conditions proposed by the seller.
HTTP request
POST https://authorizedbuyersmarketplace.googleapis.com/v1/{name=buyers/*/proposals/*}:accept
[[["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 is used to accept a proposal at a given revision number, finalizing it if the revision matches the server's."],["The request must include the proposal's name using the format `buyers/{accountId}/proposals/{proposalId}` and the `proposalRevision` in the request body."],["If the proposal's state is not `BUYER_ACCEPTANCE_REQUESTED` or `FINALIZED`, the request will result in an error."],["A successful response will return the updated `Proposal` object."],["Authorization requires the `https://www.googleapis.com/auth/authorized-buyers-marketplace` scope."]]],[]]