借助本地商品目录服务,您可以创建和更新本地商品目录资源的实例,其中包含的字段可针对不同的实体店位置具有不同的值。每个本地商品目录实例都是现有商品资源的子项,并会继承父级资源中的商品数据字段。例如,您可能有一件商品在不同商店中的价格和数量不同,但在所有商店中都具有相同的 ID、说明和其他商品数据。本地商品目录数据用于本地 Google 平台呈现和本地商品目录广告计划。
[null,null,["最后更新时间 (UTC):2025-06-10。"],[[["The Merchant API beta is the new version of the Content API for Shopping, offering improvements and opportunities to shape its future."],["The local inventory service enables management of product data specific to physical store locations, like price and quantity, used for Local surfaces across Google and Local Inventory Ads."],["To utilize the local inventory service, prerequisites include a linked and verified Business Profile, Merchant Center account enrollment in a local program, and pre-existing local products."],["The service provides two methods: `localinventory.insert` for creating single local inventory instances and `localinventory.custombatch` for creating multiple instances across products or stores."],["While you can create and update local inventory, retrieving, listing, or deleting instances is not supported; viewing data is possible within Merchant Center's product details."]]],["The Merchant API's beta version is introduced as the new Content API for Shopping. The local inventory service within the Merchant API allows creating and updating local inventory instances for physical store locations, linked to existing product resources. Prerequisites include setting up a Business Profile, linking it to Merchant Center, verifying the business, and enrolling in a local program. The service supports `localinventory.insert` to create a single instance and `localinventory.custombatch` for multiple instances and only `storeCode` and `productId` are required for all requests.\n"]]