The product to insert or update. Only required if the method is insert or update. If the update method is used with updateMask only to delete a field, then this isn't required. For example, setting salePrice on the updateMask and not providing a product will result in an existing sale price on the product specified by productId being deleted.
feedId
string
The Content API Supplemental Feed ID. If present then product insertion or deletion applies to a supplemental feed instead of primary Content API feed.
The comma-separated list of product attributes to be updated. Example: "title,salePrice". Attributes specified in the update mask without a value specified in the body will be deleted from the product. You must specify the update mask to delete attributes. Only top-level product attributes can be updated. If not defined, product attributes with set values will be updated and other attributes will stay unchanged. Only defined if the method is update.
ProductsCustomBatchResponseEntry
A batch entry encoding a single non-batch products response.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-25 UTC."],[[["Allows retrieval, insertion, and deletion of multiple products using a single POST request to the specified endpoint."],["Requires authorization with the `https://www.googleapis.com/auth/content` scope."],["Request body must contain a `ProductsCustomBatchRequest` object with individual entries defining the desired operations for each product."],["Each entry in the request specifies the operation (`get`, `insert`, `delete`, `update`), target product ID, and any relevant product data or update mask."],["The response includes a list of `ProductsCustomBatchResponseEntry` objects, each containing the result of the corresponding operation or any errors encountered."]]],["This document details the process for managing multiple product operations via a batch request. The `POST` request to `https://shoppingcontent.googleapis.com/content/v2.1/products/batch` allows for the insertion, retrieval, deletion, and updating of products. Each request within the batch is defined by a `ProductsCustomBatchRequestEntry`, including a unique `batchId`, `method`, `productId`, and an optional `product`. Successful responses, outlined in `ProductsCustomBatchResponseEntry`, provide details like the inserted product or error messages. The operations are handled using the OAuth scope `https://www.googleapis.com/auth/content`.\n"]]