在instructions for OutOfStockControlPreference之后,我将其设置为true,甚至使用ShowOutOfStockControlPreference
验证。
接下来,我的电话如下:
<?xml version="1.0" encoding="UTF-8"?>
<ReviseInventoryStatusRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<RequesterCredentials>
<eBayAuthToken>-- removed --</eBayAuthToken>
</RequesterCredentials>
<InventoryStatus>
<ItemID>**********</ItemID>
<Quantity>0</Quantity>
</InventoryStatus>
</ReviseInventoryStatusRequest>
eBay返回515错误:
Array(
[ReviseInventoryStatusResponse] => Array(
[Timestamp] => 2014-10-28T16:05:19.176Z
[Ack] => Failure
[Errors] => Array(
[ShortMessage] => Quantity is not valid.
[LongMessage] => The quantity must be a valid number greater than 0.
[ErrorCode] => 515
[SeverityCode] => Error
[ErrorParameters] => Array(
[0] => Array(
[Value] => **********
)
[1] => Array(
[Value] => Array(
)
)
)
[ErrorClassification] => RequestError
)
[Version] => 891
[Build] => E891_UNI_API5_17051033_R1
)
)