所以我一直在努力将项目Feed自动上传到eBay,当我有效地进行API调用时,我很难过。我一直收到错误21395 - 请求超时。当然到目前为止我只使用了Sandbox Credentials(根据eBay的要求),我也坚持每个Feed最多上传5个产品(事实上我只上传3个,甚至尝试过1或2个) )。也在他们的“DEV / API测试工具”中尝试过,但无济于事,甚至在使用eBay提供的模型XML时也失败了。在任何地方都没有文档,他们的Git存储库在过去一年半中没有更新。
任何输入都将不胜感激。谢谢。
这是我的测试XML:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<AddItemsRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<ErrorLanguage>en_US</ErrorLanguage>
<WarningLevel>High</WarningLevel>
<AddItemRequestContainer>
<MessageID>1</MessageID>
<Item>
<Title>Harry Potter 1</Title>
<Description>First Book</Description>
<ConditionID>1000</ConditionID>
<PrimaryCategory>
<CategoryId>279</CategoryId>
</PrimaryCategory>
<CategoryMappingAllowed>true</CategoryMappingAllowed>
<Site>DE</Site>
<Quantity>500</Quantity>
<StartPrice>10</StartPrice>
<ListingDuration>Days_7</ListingDuration>
<ListingType>Chinese</ListingType>
<DispatchTimeMax>3</DispatchTimeMax>
<ShippingDetails>
<ShippingType>Flat</ShippingType>
<ShippingServiceOptions>
<ShippingServicePriority>1</ShippingServicePriority>
<ShippingService>UPSGround</ShippingService>
<ShippingServiceCost>2.5</ShippingServiceCost>
</ShippingServiceOptions>
</ShippingDetails>
<ReturnPolicy>
<ReturnsAcceptedOption>ReturnsAccepted</ReturnsAcceptedOption>
<RefundOption>MoneyBack</RefundOption>
<ReturnsWithinOption>Days_30</ReturnsWithinOption>
<Description>Description of Return Policy Details</Description>
<ShippingCostPaidByOption>Buyer</ShippingCostPaidByOption>
</ReturnPolicy>
<Country>DE</Country>
<Currency>EUR</Currency>
<PostalCode>76927</PostalCode>
<PaymentMethods>AmEx</PaymentMethods>
<PictureDetails>
<Item.PictureDetails.PictureURL></Item.PictureDetails.PictureURL>
<PictureURL></PictureURL>
</PictureDetails>
<UUID>e652668dbb984fd193db3e4af000a078</UUID>
</Item>
</AddItemRequestContainer>
<AddItemRequestContainer>
<MessageID>2</MessageID>
<Item>
<Title>Harry Potter 2</Title>
<Description>Second Book</Description>
<ConditionID>1000</ConditionID>
<PrimaryCategory>
<CategoryId>279</CategoryId>
</PrimaryCategory>
<CategoryMappingAllowed>true</CategoryMappingAllowed>
<Site>DE</Site>
<Quantity>100</Quantity>
<StartPrice>12</StartPrice>
<ListingDuration>Days_7</ListingDuration>
<ListingType>Chinese</ListingType>
<DispatchTimeMax>3</DispatchTimeMax>
<ShippingDetails>
<ShippingType>Flat</ShippingType>
<ShippingServiceOptions>
<ShippingServicePriority>1</ShippingServicePriority>
<ShippingService>UPSGround</ShippingService>
<ShippingServiceCost>2.5</ShippingServiceCost>
</ShippingServiceOptions>
</ShippingDetails>
<ReturnPolicy>
<ReturnsAcceptedOption>ReturnsAccepted</ReturnsAcceptedOption>
<RefundOption>MoneyBack</RefundOption>
<ReturnsWithinOption>Days_30</ReturnsWithinOption>
<Description>Description of Return Policy Details</Description>
<ShippingCostPaidByOption>Buyer</ShippingCostPaidByOption>
</ReturnPolicy>
<Country>DE</Country>
<Currency>EUR</Currency>
<PostalCode>76927</PostalCode>
<PaymentMethods>AmEx</PaymentMethods>
<PictureDetails>
<Item.PictureDetails.PictureURL>harrypotter.com/books/2.jpg</Item.PictureDetails.PictureURL>
<PictureURL>harrypotter.com/books/2.jpg</PictureURL>
</PictureDetails>
<UUID>e652668dbb984fd193db3e4af000a079</UUID>
</Item>
</AddItemRequestContainer>
<AddItemRequestContainer>
<MessageID>3</MessageID>
<Item>
<Title>Harry Potter 3</Title>
<Description>Third Book</Description>
<ConditionID>1000</ConditionID>
<PrimaryCategory>
<CategoryId>279</CategoryId>
</PrimaryCategory>
<CategoryMappingAllowed>true</CategoryMappingAllowed>
<Site>DE</Site>
<Quantity>1</Quantity>
<StartPrice>100</StartPrice>
<ListingDuration>Days_7</ListingDuration>
<ListingType>Chinese</ListingType>
<DispatchTimeMax>3</DispatchTimeMax>
<ShippingDetails>
<ShippingType>Flat</ShippingType>
<ShippingServiceOptions>
<ShippingServicePriority>1</ShippingServicePriority>
<ShippingService>UPSGround</ShippingService>
<ShippingServiceCost>2.5</ShippingServiceCost>
</ShippingServiceOptions>
</ShippingDetails>
<ReturnPolicy>
<ReturnsAcceptedOption>ReturnsAccepted</ReturnsAcceptedOption>
<RefundOption>MoneyBack</RefundOption>
<ReturnsWithinOption>Days_30</ReturnsWithinOption>
<Description>Description of Return Policy Details</Description>
<ShippingCostPaidByOption>Buyer</ShippingCostPaidByOption>
</ReturnPolicy>
<Country>DE</Country>
<Currency>EUR</Currency>
<PostalCode>76927</PostalCode>
<PaymentMethods>AmEx</PaymentMethods>
<PictureDetails>
<Item.PictureDetails.PictureURL>harrypotter.com/books/3.jpg</Item.PictureDetails.PictureURL>
<PictureURL>harrypotter.com/books/3.jpg</PictureURL>
</PictureDetails>
<UUID>e652668dbb984fd193db3e4af000a080</UUID>
</Item>
</AddItemRequestContainer>
<RequesterCredentials>
<eBayAuthToken> --My AUTH Token-- </eBayAuthToken>
</RequesterCredentials>
</AddItemsRequest>