Class ShippingsettingsResource
The "shippingsettings" collection of methods.
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class ShippingsettingsResource
Constructors
ShippingsettingsResource(IClientService)
Constructs a new resource.
Declaration
public ShippingsettingsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
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(ulong, ulong)
Retrieves the shipping settings of the account.
Declaration
public virtual ShippingsettingsResource.GetRequest Get(ulong merchantId, ulong accountId)
Parameters
Type | Name | Description |
---|---|---|
ulong | 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 |
ulong | accountId | The ID of the account for which to get/update shipping settings. |
Returns
Type | Description |
---|---|
ShippingsettingsResource.GetRequest |
Getsupportedcarriers(ulong)
Retrieves supported carriers and carrier services for an account.
Declaration
public virtual ShippingsettingsResource.GetsupportedcarriersRequest Getsupportedcarriers(ulong merchantId)
Parameters
Type | Name | Description |
---|---|---|
ulong | merchantId | The ID of the account for which to retrieve the supported carriers. |
Returns
Type | Description |
---|---|
ShippingsettingsResource.GetsupportedcarriersRequest |
Getsupportedholidays(ulong)
Retrieves supported holidays for an account.
Declaration
public virtual ShippingsettingsResource.GetsupportedholidaysRequest Getsupportedholidays(ulong merchantId)
Parameters
Type | Name | Description |
---|---|---|
ulong | merchantId | The ID of the account for which to retrieve the supported holidays. |
Returns
Type | Description |
---|---|
ShippingsettingsResource.GetsupportedholidaysRequest |
Getsupportedpickupservices(ulong)
Retrieves supported pickup services for an account.
Declaration
public virtual ShippingsettingsResource.GetsupportedpickupservicesRequest Getsupportedpickupservices(ulong merchantId)
Parameters
Type | Name | Description |
---|---|---|
ulong | merchantId | The ID of the account for which to retrieve the supported pickup services. |
Returns
Type | Description |
---|---|
ShippingsettingsResource.GetsupportedpickupservicesRequest |
List(ulong)
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 |
---|---|---|
ulong | merchantId | The ID of the managing account. This must be a multi-client account. |
Returns
Type | Description |
---|---|
ShippingsettingsResource.ListRequest |
Update(ShippingSettings, ulong, ulong)
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. |
ulong | 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 |
ulong | accountId | The ID of the account for which to get/update shipping settings. |
Returns
Type | Description |
---|---|
ShippingsettingsResource.UpdateRequest |