Show / Hide Table of Contents

Class ShippingsettingsResource

The "shippingsettings" collection of methods.

Inheritance
System.Object
ShippingsettingsResource
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
Assembly: Google.Apis.ShoppingContent.v2.dll
Syntax
public class ShippingsettingsResource

Constructors

ShippingsettingsResource(IClientService)

Constructs a new resource.

Declaration
public ShippingsettingsResource(IClientService service)
Parameters
Type Name Description
Google.Apis.Services.IClientService service

Methods

Custombatch(ShippingsettingsCustomBatchRequest)

Retrieves and updates the shipping settings of multiple accounts in a single request.

Declaration
public virtual ShippingsettingsResource.CustombatchRequest Custombatch(ShippingsettingsCustomBatchRequest body)
Parameters
Type Name Description
ShippingsettingsCustomBatchRequest body

The body of the request.

Returns
Type Description
ShippingsettingsResource.CustombatchRequest

Get(UInt64, UInt64)

Retrieves the shipping settings of the account.

Declaration
public virtual ShippingsettingsResource.GetRequest Get(ulong merchantId, ulong accountId)
Parameters
Type Name Description
System.UInt64 merchantId

The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.

System.UInt64 accountId

The ID of the account for which to get/update shipping settings.

Returns
Type Description
ShippingsettingsResource.GetRequest

Getsupportedcarriers(UInt64)

Retrieves supported carriers and carrier services for an account.

Declaration
public virtual ShippingsettingsResource.GetsupportedcarriersRequest Getsupportedcarriers(ulong merchantId)
Parameters
Type Name Description
System.UInt64 merchantId

The ID of the account for which to retrieve the supported carriers.

Returns
Type Description
ShippingsettingsResource.GetsupportedcarriersRequest

Getsupportedholidays(UInt64)

Retrieves supported holidays for an account.

Declaration
public virtual ShippingsettingsResource.GetsupportedholidaysRequest Getsupportedholidays(ulong merchantId)
Parameters
Type Name Description
System.UInt64 merchantId

The ID of the account for which to retrieve the supported holidays.

Returns
Type Description
ShippingsettingsResource.GetsupportedholidaysRequest

Getsupportedpickupservices(UInt64)

Retrieves supported pickup services for an account.

Declaration
public virtual ShippingsettingsResource.GetsupportedpickupservicesRequest Getsupportedpickupservices(ulong merchantId)
Parameters
Type Name Description
System.UInt64 merchantId

The ID of the account for which to retrieve the supported pickup services.

Returns
Type Description
ShippingsettingsResource.GetsupportedpickupservicesRequest

List(UInt64)

Lists the shipping settings of the sub-accounts in your Merchant Center account.

Declaration
public virtual ShippingsettingsResource.ListRequest List(ulong merchantId)
Parameters
Type Name Description
System.UInt64 merchantId

The ID of the managing account. This must be a multi-client account.

Returns
Type Description
ShippingsettingsResource.ListRequest

Update(ShippingSettings, UInt64, UInt64)

Updates the shipping settings of the account. Any fields that are not provided are deleted from the resource.

Declaration
public virtual ShippingsettingsResource.UpdateRequest Update(ShippingSettings body, ulong merchantId, ulong accountId)
Parameters
Type Name Description
ShippingSettings body

The body of the request.

System.UInt64 merchantId

The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.

System.UInt64 accountId

The ID of the account for which to get/update shipping settings.

Returns
Type Description
ShippingsettingsResource.UpdateRequest
In This Article
Back to top