Class RegionalinventoryResource
The "regionalinventory" collection of methods.
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class RegionalinventoryResource
Constructors
RegionalinventoryResource(IClientService)
Constructs a new resource.
Declaration
public RegionalinventoryResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Custombatch(RegionalinventoryCustomBatchRequest)
Updates regional inventory for multiple products or regions in a single request.
Declaration
public virtual RegionalinventoryResource.CustombatchRequest Custombatch(RegionalinventoryCustomBatchRequest body)
Parameters
Type | Name | Description |
---|---|---|
RegionalinventoryCustomBatchRequest | body | The body of the request. |
Returns
Type | Description |
---|---|
RegionalinventoryResource.CustombatchRequest |
Insert(RegionalInventory, ulong, string)
Updates the regional inventory of a product in your Merchant Center account. If a regional inventory with the same region ID already exists, this method updates that entry.
Declaration
public virtual RegionalinventoryResource.InsertRequest Insert(RegionalInventory body, ulong merchantId, string productId)
Parameters
Type | Name | Description |
---|---|---|
RegionalInventory | body | The body of the request. |
ulong | merchantId | The ID of the account that contains the product. This account cannot be a multi-client account. |
string | productId | The REST ID of the product for which to update the regional inventory. |
Returns
Type | Description |
---|---|
RegionalinventoryResource.InsertRequest |