Repricingrules
class Repricingrules extends Resource (View source)
The "repricingrules" collection of methods.
Typical usage is:
$contentService = new Google\Service\ShoppingContent(...);
$repricingrules = $contentService->repricingrules;
Methods
Creates a repricing rule for your Merchant Center account.
Deletes a repricing rule in your Merchant Center account.
Retrieves a repricing rule from your Merchant Center account.
Lists the repricing rules in your Merchant Center account.
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. (repricingrules.patch)
Details
RepricingRule
create(string $merchantId, RepricingRule $postBody, array $optParams = [])
Creates a repricing rule for your Merchant Center account.
(repricingrules.create)
delete(string $merchantId, string $ruleId, array $optParams = [])
Deletes a repricing rule in your Merchant Center account.
(repricingrules.delete)
RepricingRule
get(string $merchantId, string $ruleId, array $optParams = [])
Retrieves a repricing rule from your Merchant Center account.
(repricingrules.get)
ListRepricingRulesResponse
listRepricingrules(string $merchantId, array $optParams = [])
Lists the repricing rules in your Merchant Center account.
(repricingrules.listRepricingrules)
RepricingRule
patch(string $merchantId, string $ruleId, RepricingRule $postBody, array $optParams = [])
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. (repricingrules.patch)