Method: sellers.orders.patch
Stay organized with collections
Save and categorize content based on your preferences.
Updates an existing order.
- Returns the updated order if successful.
- Returns error code
PERMISSION_DENIED
if the user does not have access to the seller or seller id does not exist.
- Returns error code
NOT_FOUND
if the order does not exist.
- Returns error code
INVALID_ARGUMENT
if an immutable field is specified in updateMask
and a change is requested.
HTTP request
PATCH https://dv360outofhomeseller.googleapis.com/v1/{order.name=sellers/*/orders/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
order.name |
string
The resource name of the order. Format: sellers/{seller}/orders/{order}
|
Query parameters
Parameters |
updateMask |
string (FieldMask format)
Required. The mask to control which fields to update. This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo" .
|
Request body
The request body contains an instance of Order
.
Response body
If successful, the response body contains an instance of Order
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/doubleclickbidmanager
For more information, see the OAuth 2.0 Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["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 updates an existing order using a `PATCH` request to the specified URL."],["It requires providing the order's resource name as a path parameter and an `updateMask` query parameter to specify the fields to be updated."],["Successful requests return the updated order, while errors like `PERMISSION_DENIED`, `NOT_FOUND`, and `INVALID_ARGUMENT` can occur under specific circumstances."],["Authorization is required using the `https://www.googleapis.com/auth/doubleclickbidmanager` OAuth scope."]]],["This documentation details how to update an existing order via a `PATCH` HTTP request to a specified URL. The URL includes a path parameter, `order.name`, identifying the order resource. `updateMask` is a required query parameter to specify fields for modification. The request body holds the `Order` instance with updated data, and upon success, the response body returns the modified `Order`. Access requires `doubleclickbidmanager` OAuth scope. Error codes signal `PERMISSION_DENIED`, `NOT_FOUND`, or `INVALID_ARGUMENT` if issues occur.\n"]]