Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/apache-kafka/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ebay api 易趣SOAP更新变动库存数量_Ebay Api - Fatal编程技术网

Ebay api 易趣SOAP更新变动库存数量

Ebay api 易趣SOAP更新变动库存数量,ebay-api,Ebay Api,我正在尝试更新易趣中某个变体项目的库存量,但请求失败 我有一款具有以下变体的产品: T恤衫 黑色的 蓝色的 黑人冠军 我想把冠军的黑色换成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="htt

我正在尝试更新易趣中某个变体项目的库存量,但请求失败

我有一款具有以下变体的产品:

T恤衫

  • 黑色的
  • 蓝色的
  • 黑人冠军
  • 我想把冠军的黑色换成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>
    
    
    X
    X
    779
    黑人冠军
    262620802157
    319
    

    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>
    
    
    2016-10-10T22:35:33.659Z
    成功
    65055fdd-b574-4e98-85e8-0558b06d365a
    987
    E987_UNI_API5_18125388_R1
    黑人冠军
    262620802157
    10.95
    337
    
    呼叫正确。易趣会发回可用数量加上售出数量