rocket
隆重推出
Merchant API - Content API for Shopping 的正式替代方案。
update
获取最新资讯,了解 Merchant API 的新功能、问题修复和更新。
add_alert
注意:Content API for Shopping 将于 2026 年 8 月 18 日停用。
概览
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
商家可以使用 products
资源创建网店目录,该目录列出了 Google 购物上的商品和优惠。创建 Merchant Center 帐号并准备通过 API 上传初始商品集后,商家就可以使用 products
资源。
商家有责任遵守购物广告政策和非付费商品详情政策。如果发现违反这些政策的内容或行为,Google 购物有权强制执行这些政策并采取适当措施。
products
资源会将商品信息上传到 Shopping Merchant Center 数据库。它还提供了多种方法,可让您一次访问、更新或删除商品信息,或在批量模式下一次访问、更新或删除商品信息。
虽然商家可以使用名为主要 Feed 的文件加载商品,但使用 Content API 创建、更新和删除商品有很多优势,包括更快的响应速度以及实时更新多个商品的功能,而无需管理多个补充 Feed。API 调用对商品所做的更改可能需要几个小时才能显示在 Shopping Merchant Center 数据库中。
Google 可以帮助您自动维护商品的某些属性。如需了解详情,请参阅启用自动改进。
下图显示了如何管理商品:

术语“商品”是指为了在 Google 购物等在线位置展示而显示在商家的商品详情页面上的实体单元。

如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-13。
[null,null,["最后更新时间 (UTC):2025-08-13。"],[[["\u003cp\u003eThe Merchant API is the new version of the Content API for Shopping, allowing merchants to create and manage their online store catalogs on Google Shopping.\u003c/p\u003e\n"],["\u003cp\u003eMerchants can utilize the \u003ccode\u003eproducts\u003c/code\u003e resource to add, update, or remove product information individually or in batches, offering faster response times compared to traditional feed uploads.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Shopping enforces its advertising and free listing policies, holding merchants accountable for compliance.\u003c/p\u003e\n"],["\u003cp\u003eProduct data uploaded through the API is stored in the Shopping Merchant Center database, and Google offers automatic improvements for certain product attributes.\u003c/p\u003e\n"],["\u003cp\u003eThe term "product" in this context specifically denotes the physical item displayed on a merchant's product detail page for online listings.\u003c/p\u003e\n"]]],["The Merchant API beta, a new version of the Content API for Shopping, allows merchants to create and manage their online product catalog on Google Shopping. Merchants use the `products` resource to upload, update, or delete product information, either individually or in batches, directly to the Shopping Merchant Center database. Using the API offers advantages over Primary Feeds, like faster response times and real-time updates, although changes may take hours to reflect. Merchants must comply with Google's Shopping ads and free listings policies.\n"],null,["# Overview\n\nMerchants can use the\n[`products`](/shopping-content/reference/rest/v2.1/products)\nresource to create an online store catalog, that is a list of\nproducts and offers that are available on Google Shopping. Merchants can use the\n`products` resource once they have created their merchant center account, and are\nready to upload an initial set of products through the API.\n\nMerchants are responsible for complying with the [Shopping\nads](//support.google.com/merchants/answer/6149970) and [free\nlistings](//support.google.com/merchants/answer/9261529) policies. Google\nShopping reserves the right to enforce these policies and respond appropriately\nif we find content or behavior that violates these policies.\n\nThe `products` resource uploads product information to the **Shopping Merchant\nCenter** database. It also provides a number of methods that let you\naccess, update or delete product information one at a time, or many at a time\nin batch mode.\n\nAlthough merchants have the ability to load products using a file called a\n**Primary Feed**, there are several advantages to creating, updating, and\ndeleting products using the Content API, including faster response time and\nthe ability to update multiple products in real time, without the need to\nmanage multiple supplemental feeds. It may take up to several hours\nfor product changes made by API calls to show in the Shopping Merchant Center\ndatabase.\n\nGoogle can help maintain certain attributes of your products automatically. See\n[Enable automatic improvements](/shopping-content/guides/automatic-improvements)\nfor more details.\n\nHere's a diagram of how you can manage products:\n\nThe term \"product\" refers to the physical unit that is to be displayed on a\nmerchant's Product Detail Page for listing in an online location like Google\nShopping."]]