Class LocalinventoryResource
The "localinventory" collection of methods.
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class LocalinventoryResource
Constructors
LocalinventoryResource(IClientService)
Constructs a new resource.
Declaration
public LocalinventoryResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Custombatch(LocalinventoryCustomBatchRequest)
Updates local inventory for multiple products or stores in a single request.
Declaration
public virtual LocalinventoryResource.CustombatchRequest Custombatch(LocalinventoryCustomBatchRequest body)
Parameters
Type | Name | Description |
---|---|---|
LocalinventoryCustomBatchRequest | body | The body of the request. |
Returns
Type | Description |
---|---|
LocalinventoryResource.CustombatchRequest |
Insert(LocalInventory, ulong, string)
Updates the local inventory of a product in your Merchant Center account.
Declaration
public virtual LocalinventoryResource.InsertRequest Insert(LocalInventory body, ulong merchantId, string productId)
Parameters
Type | Name | Description |
---|---|---|
LocalInventory | 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 local inventory. |
Returns
Type | Description |
---|---|
LocalinventoryResource.InsertRequest |