资源
<h3>API参考:资源</h3>
<p>Inventory API用于创建和管理库存,然后在eBay市场上发布和管理此库存。此API中还有一个调用,可将符合条件的有效eBay列表转换为Inventory API模型。</p>
<h5>地点</h5>
<table>
<thead>
<tr>
<th>方法名称</th>
<th>HTTP方法</th>
<th>URL</th>
<th>摘要</th>
<th>例子</th>
</tr>
</thead>
<tbody>
<tr>
<td>createInventoryLocation</td>
<td>post</td>
<td>/location/{merchantLocationKey}</td>
<td>此调用用于为关联的卖方创建商店或仓库位置。</td>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/location/methods/createInventoryLocation#_samples" title="查看">查看</a></td>
</tr>
<tr>
<td>deleteInventoryLocation</td>
<td>delete</td>
<td>/location/{merchantLocationKey}</td>
<td>此调用用于从卖家的帐户中删除指定的库存位置。</td>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/location/methods/deleteInventoryLocation#_samples" title="查看">查看</a></td>
</tr>
<tr>
<td>disableInventoryLocation</td>
<td>post</td>
<td>/location/{merchantLocationKey}/disable</td>
<td>此调用用于禁用指定的库存位置。</td>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/location/methods/disableInventoryLocation#_samples" title="查看">查看</a></td>
</tr>
<tr>
<td>enableInventoryLocation</td>
<td>post</td>
<td>/location/{merchantLocationKey}/enable</td>
<td>此调用用于启用已禁用的库存位置。</td>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/location/methods/enableInventoryLocation#_samples" title="查看">查看</a></td>
</tr>
<tr>
<td>getInventoryLocation</td>
<td>get</td>
<td>/location/{merchantLocationKey}</td>
<td>此调用用于检索指定库存位置的详细信息。</td>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/location/methods/getInventoryLocation#_samples" title="查看">查看</a></td>
</tr>
<tr>
<td>getInventoryLocations</td>
<td>get</td>
<td>/location/</td>
<td>此调用用于检索卖方定义的库存位置列表。</td>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/location/methods/getInventoryLocations#_samples" title="查看">查看</a></td>
</tr>
<tr>
<td>updateInventoryLocation</td>
<td>post</td>
<td>/location/{merchantLocationKey}/update_location_details</td>
<td>此调用用于更新指定库存位置的详细信息。</td>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/location/methods/updateInventoryLocation#_samples" title="查看">查看</a></td>
<td></td>
</tr>
</tbody>
</table>
<h3>inventory_item</h3>
<table>
<thead>
<tr>
<th>方法名称</th>
<th>HTTP方法</th>
<th>URL</th>
<th>摘要</th>
<th>例子</th>
</tr>
</thead>
<tbody>
<tr>
<td>createOrReplaceInventoryItem</td>
<td>put</td>
<td>/inventory_item/{SKU}</td>
<td>此调用将创建新的库存物料记录或更新现有库存物料记录。</td>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/inventory_item/methods/createOrReplaceInventoryItem#_samples" title="查看">查看</a></td>
</tr>
<tr>
<td>getInventoryItem</td>
<td>get</td>
<td>/inventory_item/{SKU}</td>
<td>此调用检索给定SKU的库存物料记录。</td>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/inventory_item/methods/getInventoryItem#_samples" title="查看">查看</a></td>
</tr>
<tr>
<td>getInventoryItems</td>
<td>get</td>
<td>/inventory_item</td>
<td>此调用将检索为卖方帐户定义的所有库存项目记录。</td>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/inventory_item/methods/getInventoryItems#_samples" title="查看">查看</a></td>
</tr>
<tr>
<td>deleteInventoryItem</td>
<td>delete</td>
<td>/inventory_item/{SKU}</td>
<td>此调用用于删除与指定SKU关联的库存项目记录。</td>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/inventory_item/methods/deleteInventoryItem#_samples" title="查看">查看</a></td>
</tr>
<tr>
<td>bulkUpdatePriceQuantity</td>
<td>post</td>
<td>/bulk_update_price_quantity</td>
<td>卖方使用该呼叫来更新库存物品的总的到户数量和/或更新实际现场要约中的相同库存物品的价格和/或数量。</td>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/inventory_item/methods/bulkUpdatePriceQuantity#_samples" title="查看">查看</a></td>
</tr>
<tr>
<td>bulkCreateOrReplaceInventoryItem</td>
<td>post</td>
<td>/bulk_create_or_replace_inventory_item</td>
<td>卖方使用此调用来创建和/或更新最多25个库存项目记录。</td>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/inventory_item/methods/bulkCreateOrReplaceInventoryItem#_samples" title="查看">查看</a></td>
</tr>
<tr>
<td>bulkGetInventoryItem</td>
<td>post</td>
<td>/bulk_get_inventory_item</td>
<td>卖方使用此调用来检索最多25个库存项目记录。</td>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/inventory_item/methods/bulkGetInventoryItem#_samples" title="查看">查看</a></td>
</tr>
</tbody>
</table>
<h3>inventory_item:product_compatibility</h3>
<table>
<thead>
<tr>
<th>方法名称</th>
<th>HTTP方法</th>
<th>路径</th>
<th>摘要</th>
<th>例子</th>
</tr>
</thead>
<tbody>
<tr>
<td>createOrReplaceProductCompatibility</td>
<td>put</td>
<td>/inventory_item/{SKU}/product_compatibility</td>
<td>卖方使用此调用来创建或替换与库存项目兼容的产品列表。</td>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/inventory_item/product_compatibility/methods/createOrReplaceProductCompatibility#_samples" title="查看">查看</a></td>
</tr>
<tr>
<td>getProductCompatibility</td>
<td>get</td>
<td>/inventory_item/{SKU}/product_compatibility</td>
<td>卖方使用此调用来检索与库存项目兼容的产品列表。</td>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/inventory_item/product_compatibility/methods/getProductCompatibility#_samples" title="查看">查看</a></td>
</tr>
<tr>
<td>deleteProductCompatibility</td>
<td>delete</td>
<td>/inventory_item/{SKU}/product_compatibility</td>
<td>卖方使用此调用来删除与库存项目兼容的产品列表。</td>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/inventory_item/product_compatibility/methods/deleteProductCompatibility#_samples" title="查看">查看</a></td>
</tr>
</tbody>
</table>
<h3>offer</h3>
<table>
<thead>
<tr>
<th>方法名称</th>
<th>HTTP方法</th>
<th>路径</th>
<th>摘要</th>
<th>例子</th>
</tr>
</thead>
<tbody>
<tr>
<td>createOffer</td>
<td>post</td>
<td>/offer</td>
<td>此通话为特定eBay市场上的特定产品创建报价</td>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/offer/methods/createOffer#_samples" title="查看">查看</a></td>
</tr>
<tr>
<td>updateOffer</td>
<td>put</td>
<td>/offer/{offerId}</td>
<td>此调用更新现有已发布或未发布的商品。</td>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/offer/methods/updateOffer#_samples" title="查看">查看</a></td>
</tr>
<tr>
<td>getOffers</td>
<td>get</td>
<td>/offer</td>
<td>此调用检索指定SKU值的所有现有商品。</td>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/offer/methods/getOffers#_samples" title="查看">查看</a></td>
</tr>
<tr>
<td>getOffer</td>
<td>get</td>
<td>/offer/{offerId}</td>
<td>此调用检索特定要约。</td>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/offer/methods/getOffer#_samples" title="查看">查看</a></td>
</tr>
<tr>
<td>deleteOffer</td>
<td>delete</td>
<td>/offer/{offerId}</td>
<td>此调用删除特定的已发布或未发布的商品。</td>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/offer/methods/deleteOffer#_samples" title="查看">查看</a></td>
</tr>
<tr>
<td>publishOffer</td>
<td>post</td>
<td>/offer/{offerId}/publish/</td>
<td>此调用用于将未发布的要约转换为已发布的要约或实时易趣列表。</td>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/offer/methods/publishOffer#_samples" title="查看">查看</a></td>
</tr>
<tr>
<td>publishOfferByInventoryItemGroup</td>
<td>post</td>
<td>/offer/publish_by_inventory_item_group/</td>
<td>此调用用于将与库存项目组关联的所有未发布的商品转换为已发布的商品。</td>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/offer/methods/publishOfferByInventoryItemGroup#_samples" title="查看">查看</a></td>
</tr>
<tr>
<td>withdrawOfferByInventoryItemGroup</td>
<td>post</td>
<td>/offer/withdraw_by_inventory_item_group</td>
<td>此调用用于结束与指定库存项目组关联的多变量易趣物品列表。</td>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/offer/methods/withdrawOfferByInventoryItemGroup#_samples" title="查看">查看</a></td>
</tr>
<tr>
<td>getListingFees</td>
<td>post</td>
<td>/offer/get_listing_fees</td>
<td>此调用用于检索一到250个未发布的优惠的预期上市费用。</td>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/offer/methods/getListingFees#_samples" title="查看">查看</a></td>
</tr>
<tr>
<td>bulkCreateOffer</td>
<td>post</td>
<td>/bulk_create_offer</td>
<td>此调用为特定eBay市场上的特定库存项目创建多个商品(最多25个)。</td>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/offer/methods/bulkCreateOffer#_samples" title="查看">查看</a></td>
</tr>
<tr>
<td>bulkPublishOffer</td>
<td>post</td>
<td>/bulk_publish_offer</td>
<td>此调用用于将未发布的商品(最多25个)转换为已发布的商品或实时易趣商品列表。</td>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/offer/methods/bulkPublishOffer#_samples" title="查看">查看</a></td>
</tr>
<tr>
<td>withdrawOffer</td>
<td>post</td>
<td>/offer/{offerId}/withdraw</td>
<td>此调用用于结束与指定商品关联的eBay商品,但不会删除商品对象。</td>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/offer/methods/withdrawOffer#_samples" title="查看">查看</a></td>
</tr>
</tbody>
</table>
<h3>inventory_item_group</h3>
<table>
<thead>
<tr>
<th>方法名称</th>
<th>HTTP方法</th>
<th>URL</th>
<th>摘要</th>
<th>例子</th>
</tr>
</thead>
<tbody>
<tr>
<td>createOrReplaceInventoryItemGroup</td>
<td>put</td>
<td>/inventory_item_group/{inventoryItemGroupKey}</td>
<td>此调用将创建新的库存项目组或更新现有的库存项目组。</td>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/inventory_item_group/methods/createOrReplaceInventoryItemGroup#_samples" title="查看">查看</a></td>
</tr>
<tr>
<td>getInventoryItemGroup</td>
<td>get</td>
<td>/inventory_item_group/{inventoryItemGroupKey}</td>
<td>此调用检索给定inventoryItemGroupKey值的库存项目组。</td>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/inventory_item_group/methods/getInventoryItemGroup#_samples" title="查看">查看</a></td>
</tr>
<tr>
<td>deleteInventoryItemGroup</td>
<td>delete</td>
<td>/inventory_item_group/{inventoryItemGroupKey}</td>
<td>此调用将删除给定inventoryItemGroupKey值的库存项目组。</td>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/inventory_item_group/methods/deleteInventoryItemGroup#_samples" title="查看">查看</a></td>
</tr>
</tbody>
</table>
<h3>listing</h3>
<table>
<thead>
<tr>
<th>方法名称</th>
<th>HTTP方法</th>
<th>URL</th>
<th>摘要</th>
<th>例子</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/listing/methods/bulkMigrateListing" title="bulkMigrateListing">bulkMigrateListing</a></td>
<td>post</td>
<td>/bulk_migrate_listing</td>
<td>此调用用于将现有eBay列表转换为相应的Inventory API对象。</td>
<td><a href="https://developer.ebay.com/api-docs/sell/inventory/resources/listing/methods/bulkMigrateListing#_samples" title="查看">查看</a></td>
</tr>
</tbody>
</table>