class Regionalinventory extends Resource (View source)

The "regionalinventory" collection of methods.

Typical usage is:

 $contentService = new Google\Service\ShoppingContent(...);
 $regionalinventory = $contentService->regionalinventory;

Methods

custombatch(RegionalinventoryCustomBatchRequest $postBody, array $optParams = [])

Updates regional inventory for multiple products or regions in a single request. (regionalinventory.custombatch)

insert(string $merchantId, string $productId, RegionalInventory $postBody, array $optParams = [])

Updates the regional inventory of a product in your Merchant Center account.

Details

RegionalinventoryCustomBatchResponse custombatch(RegionalinventoryCustomBatchRequest $postBody, array $optParams = [])

Updates regional inventory for multiple products or regions in a single request. (regionalinventory.custombatch)

Parameters

RegionalinventoryCustomBatchRequest $postBody
array $optParams

Optional parameters.

Return Value

RegionalinventoryCustomBatchResponse

Exceptions

Exception

RegionalInventory insert(string $merchantId, string $productId, RegionalInventory $postBody, array $optParams = [])

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. (regionalinventory.insert)

Parameters

string $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.

RegionalInventory $postBody
array $optParams

Optional parameters.

Return Value

RegionalInventory

Exceptions

Exception