AI-generated Key Takeaways
-
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
ReturnPolicyOnlineobject for data transfer. -
Authorization with the
https://www.googleapis.com/auth/contentscope is necessary.
Updates an existing return policy.
HTTP request
PATCH https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/returnpolicyonline/{returnPolicyId}
Path parameters
| Parameters | |
|---|---|
merchantId |
Required. The id of the merchant for which to retrieve the return policy online object. |
returnPolicyId |
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.