We will sunset v2 of the Content API on March 29th, 2021. To avoid disruptions with your integration, please migrate to v2.1 as soon as possible. For more information, see Migrating to v2.1.

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


string (int64 format)

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



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.