Method: accounts.products.delete
从 Manufacturer Center 账号中删除商品。
HTTP 请求
DELETE https://manufacturers.googleapis.com/v1/{parent=accounts/*}/products/{name}
网址采用 gRPC 转码语法。
路径参数
参数 |
parent |
string
父级 ID,格式为 accounts/{account_id} 。 account_id - Manufacturer Center 帐号的 ID。
|
name |
string
名称,格式为 {targetCountry}:{contentLanguage}:{productId} 。 targetCountry - 商品的目标国家/地区,以 CLDR 地区代码表示(例如,US)。
contentLanguage - 商品的内容语言,以两个字母的 ISO 639-1 语言代码表示(例如 en)。
productId - 商品的 ID。如需了解详情,请参阅 https://support.google.com/manufacturers/answer/6124116#id。
|
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/manufacturercenter
如需了解详情,请参阅 OAuth 2.0 概览。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-07-09。
[null,null,["最后更新时间 (UTC):2024-07-09。"],[[["Deletes a specified product from a Manufacturer Center account using its ID, target country, and content language."],["Requires an empty request body and returns an empty response body upon successful deletion."],["Uses the `DELETE` method and specific path parameters including the account ID and product information for identification."],["Needs authorization with the `https://www.googleapis.com/auth/manufacturercenter` scope for access."]]],[]]