1
我正在嘗試更新易趣中變體物品的庫存數量,但我的請求失敗。易趣SOAP更新變化庫存數量
我有一個變體產品:
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>
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>