Method: repricingrules.patch

Updates a repricing rule in your Merchant Center account. All mutable fields will be overwritten in each update request. In each update, you must provide all required mutable fields, or an error will be thrown. If you do not provide an optional field in the update request, if that field currently exists, it will be deleted from the rule.

HTTP request

PATCH https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/repricingrules/{ruleId}

Path parameters

Parameters
merchantId

string (int64 format)

Required. The id of the merchant who owns the repricing rule.

ruleId

string

Required. The id of the rule to update.

Request body

The request body contains an instance of RepricingRule.

Response body

If successful, the response body contains an instance of RepricingRule.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/content

For more information, see the OAuth 2.0 Overview.