Products
class Products extends Resource (View source)
The "products" collection of methods.
Typical usage is:
$contentService = new Google\Service\ShoppingContent(...);
$products = $contentService->products;
Methods
Retrieves, inserts, and deletes multiple products in a single request.
Deletes a product from your Merchant Center account. (products.delete)
Retrieves a product from your Merchant Center account. (products.get)
Lists the products in your Merchant Center account. The response might contain fewer items than specified by maxResults. Rely on nextPageToken to determine if there are more items to be requested. (products.listProducts)
Details
ProductsCustomBatchResponse
custombatch(ProductsCustomBatchRequest $postBody, array $optParams = [])
Retrieves, inserts, and deletes multiple products in a single request.
(products.custombatch)
delete(string $merchantId, string $productId, array $optParams = [])
Deletes a product from your Merchant Center account. (products.delete)
Product
get(string $merchantId, string $productId, array $optParams = [])
Retrieves a product from your Merchant Center account. (products.get)
Product
insert(string $merchantId, Product $postBody, array $optParams = [])
Uploads a product to your Merchant Center account. If an item with the same channel, contentLanguage, offerId, and targetCountry already exists, this method updates that entry. (products.insert)
ProductsListResponse
listProducts(string $merchantId, array $optParams = [])
Lists the products in your Merchant Center account. The response might contain fewer items than specified by maxResults. Rely on nextPageToken to determine if there are more items to be requested. (products.listProducts)