易趣API交易错误输入数据无效。标签<item.shippingdetails>的输入数据在......

时间:2016-09-22 07:39:00

标签: php api ebay ebay-api

如何使用Ebay在英国或法国列出送货详情添加固定价格物品api?下面给出了我的代码

<?xml version="1.0" encoding="utf-8"?>
<AddFixedPriceItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">
  <RequesterCredentials>
    <eBayAuthToken>***</eBayAuthToken>
  </RequesterCredentials>
    <ErrorLanguage>en_US</ErrorLanguage>
    <WarningLevel>High</WarningLevel>
    <Item>
        <Country>UK</Country>
        <Currency>GBP</Currency>
        <ShippingDetails>
            <ShippingType>Flat</ShippingType>
            <ShippingServiceOptions>
                <ShippingServicePriority>1</ShippingServicePriority>
                <ShippingService>DHLExpressWorldwide</ShippingService>
                <FreeShipping>true</FreeShipping>
                <ShippingServiceAdditionalCost currencyID="EUR">0.00</ShippingServiceAdditionalCost>
            </ShippingServiceOptions>
        </ShippingDetails>
        <Site>UK</Site>
    </Item>
</AddFixedPriceItemRequest>

1 个答案:

答案 0 :(得分:0)

在ShippingService字段中使用的正确值是UK_DHLExpressWorldwide