The "inventory" collection of methods.
More...
|
| convertToArrayAndStripNulls ($o) |
|
The "inventory" collection of methods.
Typical usage is: $contentService = new Google_Service_ShoppingContent(...); $inventory = $contentService->inventory;
◆ call()
Google_Service_Resource::call |
( |
| $name, |
|
|
| $arguments, |
|
|
| $expected_class = null ) |
|
inherited |
TODO: This function needs simplifying.
- Parameters
-
$name | |
$arguments | |
$expected_class | - optional, the expected class name |
- Return values
-
Google_Http_Request|expected_class | |
- Exceptions
-
◆ custombatch()
Updates price and availability for multiple products or stores in a single request.
This operation does not update the expiration date of the products. (inventory.custombatch)
- Parameters
-
Google_InventoryCustomBatchRequest | $postBody | |
array | $optParams | Optional parameters. |
@opt_param bool dryRun Flag to run the request in dry-run mode.
- Return values
-
◆ set()
Updates price and availability of a product in your Merchant Center account.
This operation does not update the expiration date of the product. (inventory.set)
- Parameters
-
string | $merchantId | The ID of the managing account. |
string | $storeCode | The code of the store for which to update price and availability. Use online to update price and availability of an online product. |
string | $productId | The ID of the product for which to update price and availability. |
Google_InventorySetRequest | $postBody | |
array | $optParams | Optional parameters. |
@opt_param bool dryRun Flag to run the request in dry-run mode.
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/ShoppingContent.php