Show / Hide Table of Contents

Class RepricingrulesResource

The "repricingrules" collection of methods.

Inheritance
System.Object
RepricingrulesResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class RepricingrulesResource

Constructors

RepricingrulesResource(IClientService)

Constructs a new resource.

Declaration
public RepricingrulesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Repricingreports

Gets the Repricingreports resource.

Declaration
public virtual RepricingrulesResource.RepricingreportsResource Repricingreports { get; }
Property Value
Type Description
RepricingrulesResource.RepricingreportsResource

Methods

Create(RepricingRule, Int64)

Creates a repricing rule for your Merchant Center account.

Declaration
public virtual RepricingrulesResource.CreateRequest Create(RepricingRule body, long merchantId)
Parameters
Type Name Description
RepricingRule body

The body of the request.

System.Int64 merchantId

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

Returns
Type Description
RepricingrulesResource.CreateRequest

Delete(Int64, String)

Deletes a repricing rule in your Merchant Center account.

Declaration
public virtual RepricingrulesResource.DeleteRequest Delete(long merchantId, string ruleId)
Parameters
Type Name Description
System.Int64 merchantId

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

System.String ruleId

Required. The id of the rule to Delete.

Returns
Type Description
RepricingrulesResource.DeleteRequest

Get(Int64, String)

Retrieves a repricing rule from your Merchant Center account.

Declaration
public virtual RepricingrulesResource.GetRequest Get(long merchantId, string ruleId)
Parameters
Type Name Description
System.Int64 merchantId

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

System.String ruleId

Required. The id of the rule to retrieve.

Returns
Type Description
RepricingrulesResource.GetRequest

List(Int64)

Lists the repricing rules in your Merchant Center account.

Declaration
public virtual RepricingrulesResource.ListRequest List(long merchantId)
Parameters
Type Name Description
System.Int64 merchantId

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

Returns
Type Description
RepricingrulesResource.ListRequest

Patch(RepricingRule, Int64, String)

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.

Declaration
public virtual RepricingrulesResource.PatchRequest Patch(RepricingRule body, long merchantId, string ruleId)
Parameters
Type Name Description
RepricingRule body

The body of the request.

System.Int64 merchantId

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

System.String ruleId

Required. The id of the rule to update.

Returns
Type Description
RepricingrulesResource.PatchRequest
In This Article
Back to top