- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- UpdateDealRequest
- Try it!
Batch updates multiple deals in the same proposal.
HTTP request
POST https://authorizedbuyersmarketplace.googleapis.com/v1/{parent=buyers/*/proposals/*}/deals:batchUpdate
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The name of the proposal containing the deals to batch update. Format: buyers/{accountId}/proposals/{proposalId} |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"requests": [
{
object ( |
Fields | |
---|---|
requests[] |
Required. List of request messages to update deals. |
Response body
Response message for batch updating deals.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"deals": [
{
object ( |
Fields | |
---|---|
deals[] |
Deals updated. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/authorized-buyers-marketplace
UpdateDealRequest
Request message for updating the deal at the given revision number.
JSON representation |
---|
{
"deal": {
object ( |
Fields | |
---|---|
deal |
Required. The deal to update. The deal's |
updateMask |
List of fields to be updated. If empty or unspecified, the service will update all fields populated in the update request excluding the output only fields and primitive fields with default value. Note that explicit field mask is required in order to reset a primitive field back to its default value, for example, false for boolean fields, 0 for integer fields. A special field mask consisting of a single path "*" can be used to indicate full replacement(the equivalent of PUT method), updatable fields unset or unspecified in the input will be cleared or set to default value. Output only fields will be ignored regardless of the value of updateMask. This is a comma-separated list of fully qualified names of fields. Example: |