eBay文档翻译

eBayAPI文档翻译


deleteProductCompatibility

<h1>deleteProductCompatibility</h1> <p><strong>DELETE</strong> /inventory_item/{sku}/product_compatibility</p> <p>卖方使用此调用来删除与兼容产品列表关联的库存项目兼容的产品列表。库存项目使用URI中的SKU值进行标识。产品兼容性目前仅适用于汽车零件和配件类别,但将来可能会支持更多类别。</p> <h6>Input</h6> <p>Resource URI (production)</p> <p><strong>DELETE</strong> <a href="https://api.ebay.com/sell/inventory/v1/inventory_item/{sku}/product_compatibility">https://api.ebay.com/sell/inventory/v1/inventory_item/{sku}/product_compatibility</a></p> <h6>URI parameters</h6> <table> <thead> <tr> <th>参数</th> <th>类型</th> <th>描述</th> </tr> </thead> <tbody> <tr> <td>sku</td> <td><a href="https://developer.ebay.com/api-docs/static/simple-types.html" title="string">string</a></td> <td>SKU(库存单位)是卖方为产品定义的唯一标识符。发生:必需</td> </tr> </tbody> </table> <h5>HTTP请求标头</h5> <p>对eBay REST操作发出的所有请求都要求您提供授权 HTTP标头以进行身份​​验证授权。 此方法具有下面列出的其他请求标头要求。请参阅<a href="http://developer.ebay.com/devzone/rest/ebay-rest/content/rest-request-components.html#HTTP" title="HTTP请求标头">HTTP请求标头</a>- 打开其余请求组件页面以获取详细信息</p> <table> <thead> <tr> <th>Header</th> <th>Type</th> <th>描述</th> </tr> </thead> <tbody> <tr> <td>Content-Language</td> <td><a href="https://developer.ebay.com/api-docs/static/simple-types.html" title="string">string</a></td> <td>此请求标头设置将在请求有效负载的字段值中提供的自然语言。发生:必需</td> </tr> </tbody> </table> <h6>OAuth范围</h6> <p>此请求需要使用<a href="https://developer.ebay.com/api-docs/static/oauth-authorization-code-grant.html" title="授权代码授权">授权代码授权</a>流创建的访问令牌,使用以下列表中的一个范围:</p> <p><a href="https://api.ebay.com/oauth/api_scope/sell.inventory">https://api.ebay.com/oauth/api_scope/sell.inventory</a></p> <p>有关详细信息,请参阅<a href="https://developer.ebay.com/api-docs/static/oauth-tokens.html" title="OAuth访问令牌">OAuth访问令牌</a>。</p> <h6>Request payload</h6> <p>This call has no payload.</p> <h6>Request fields</h6> <p>This call has no field definitions.</p> <h6>Output</h6> <h6>HTTP response headers</h6> <p>This call has no response headers.</p> <h6>Response payload</h6> <p>This call has no payload.</p> <h6>Response fields</h6> <p>This call has no field definitions.</p> <p><strong>HTTP状态代码</strong> 此调用可以返回以下HTTP状态代码之一。状态代码的概述,请参阅<a href="https://developer.ebay.com/api-docs/static/rest-response-components.html#HTTP" title="HTTP状态代码">HTTP状态代码</a>在使用eBay RESTful API中。</p> <table> <thead> <tr> <th>状态码</th> <th>含义</th> </tr> </thead> <tbody> <tr> <td>200</td> <td>成功</td> </tr> <tr> <td>400</td> <td>错误的请求</td> </tr> <tr> <td>404</td> <td>未找到</td> </tr> <tr> <td>500</td> <td>内部服务器错误</td> </tr> </tbody> </table> <p><strong>错误代码</strong> 有关错误的更多信息以及其他常见错误的代码,请参阅<a href="https://developer.ebay.com/api-docs/static/handling-error-messages.html" title="处理错误">处理错误</a>。</p> <table> <thead> <tr> <th>Code</th> <th>Domain</th> <th>Category</th> <th>Meaning</th> </tr> </thead> <tbody> <tr> <td>25001</td> <td>API_INVENTORY</td> <td>APPLICATION</td> <td>发生了系统错误。{附加信息}</td> </tr> <tr> <td>25702</td> <td>API_INVENTORY</td> <td>REQUEST</td> <td>无法找到{skuValue}或系统中无法使用</td> </tr> <tr> <td>25709</td> <td>API_INVENTORY</td> <td>REQUEST</td> <td>{fieldName}的值无效。</td> </tr> </tbody> </table> <h6>示例</h6> <p>新的API调用?请参阅<a href="https://developer.ebay.com/api-docs/static/make-a-call.html" title="拨打电话">拨打电话</a>。</p> <p>注意:这些样本中的标识符(例如订单ID或用户ID)和个人数据可能是匿名的,或者在eBay上可能不再有效。如有必要,请在您的请求中替换当前相关的eBay数据。</p> <h6>示例1:删除产品兼容性列表</h6> <p>此调用将删除与特定SKU关联的产品兼容性列表。</p> <h6>Input</h6> <p>将删除其产品兼容性列表的产品的SKU值输入到调用URI的末尾。在这种情况下,产品的SKU值为Al-8730。</p> <p><strong>DELETE</strong> <a href="https://api.ebay.com/sell/inventory/v1/inventory_item/Al-8730/product_compatibility">https://api.ebay.com/sell/inventory/v1/inventory_item/Al-8730/product_compatibility</a></p> <h6>Output</h6> <p>此响应没有输出有效负载。成功的呼叫包含HTTP状态代码200。</p>

页面列表

ITEM_HTML