public class ShoppingContent.Inventory extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
ShoppingContent.Inventory.Custombatch |
class |
ShoppingContent.Inventory.Set |
| Constructor and Description |
|---|
Inventory() |
| Modifier and Type | Method and Description |
|---|---|
ShoppingContent.Inventory.Custombatch |
custombatch(InventoryCustomBatchRequest content)
Updates price and availability for multiple products or stores in a single request.
|
ShoppingContent.Inventory.Set |
set(BigInteger merchantId,
String storeCode,
String productId,
InventorySetRequest content)
Updates price and availability of a product in your Merchant Center account.
|
public ShoppingContent.Inventory.Custombatch custombatch(InventoryCustomBatchRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the InventoryCustomBatchRequestIOExceptionpublic ShoppingContent.Inventory.Set set(BigInteger merchantId, String storeCode, String productId, InventorySetRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.merchantId - The ID of the account that contains the product. This account cannot be a multi-client account.storeCode - The code of the store for which to update price and availability. Use `online` to update price and
availability of an online product.productId - The REST ID of the product for which to update price and availability.content - the InventorySetRequestIOExceptionCopyright © 2011–2021 Google. All rights reserved.