Method: returnpolicyonline.patch
Updates an existing return policy.
HTTP request
PATCH https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/returnpolicyonline/{returnPolicyId}
Path parameters
Parameters |
merchantId |
string (int64 format)
Required. The id of the merchant for which to retrieve the return policy online object.
|
returnPolicyId |
string
Required. The id of the return policy to update.
|
Request body
The request body contains an instance of ReturnPolicyOnline
.
Response body
If successful, the response body contains an instance of ReturnPolicyOnline
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/content
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 2025-02-25 UTC.
[null,null,["Last updated 2025-02-25 UTC."],[[["This operation updates an existing online return policy for a specific merchant using a PATCH request."],["The request requires merchant ID and return policy ID to identify the target policy."],["Both request and response bodies utilize the `ReturnPolicyOnline` object for data transfer."],["Authorization with the `https://www.googleapis.com/auth/content` scope is necessary."]]],["This document outlines the process to update a return policy using a `PATCH` request to the provided URL. The `merchantId` and `returnPolicyId` are mandatory path parameters for identifying the target policy. The request body should contain an instance of `ReturnPolicyOnline`, and a successful response will also include an instance of `ReturnPolicyOnline`. Authorization requires the `https://www.googleapis.com/auth/content` OAuth scope. The document also allows you to use a try it feature.\n"]]