易趣SOAP更新变化库存数量

时间:2016-10-10 22:39:20

标签: ebay

我正在尝试更新eBay中变体项目的库存数量,但我的请求失败了。

我有一个变种产品:

T恤

  1. 黑色
  2. Champion Black
  3. 我想将Champion Black改为319。

    <?xml version="1.0" encoding="UTF-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
       <soap:Header>
      <RequesterCredentials xmlns="urn:ebay:apis:eBLBaseComponents">
         <eBayAuthToken>X</eBayAuthToken>
      </RequesterCredentials>
       </soap:Header>
       <soap:Body>
      <ReviseInventoryStatusRequest xmlns="urn:ebay:apis:eBLBaseComponents">
         <MessageID>X</MessageID>
         <Version>779</Version>
         <InventoryStatus>
            <SKU>Champion Black</SKU>
            <ItemID>262620802157</ItemID>
            <Quantity>319</Quantity>
         </InventoryStatus>
      </ReviseInventoryStatusRequest>
    

    eBay回应成功,但他们说股票是337:

       <ReviseInventoryStatusResponse xmlns="urn:ebay:apis:eBLBaseComponents">
       <Timestamp>2016-10-10T22:35:33.659Z</Timestamp>
       <Ack>Success</Ack>
       <CorrelationID>65055fdd-b574-4e98-85e8-0558b06d365a</CorrelationID>
       <Version>987</Version>
       <Build>E987_UNI_API5_18125388_R1</Build>
       <InventoryStatus>
       <SKU>Champion Black</SKU>
       <ItemID>262620802157</ItemID>
       <StartPrice>10.95</StartPrice>
       <Quantity>337</Quantity>
      </InventoryStatus>
    

1 个答案:

答案 0 :(得分:1)

电话是正确的。易趣发回可用数量加上销售数量。