Method: returnpolicyonline.patch

  • 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.

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.