2017-01-09 24 views
0

我發現瞭如何在這裏設立貨運詳細信息:XML Ebay Trading API - Shipping elementXML易趣貿易API - 設置額外的運輸位置,而不會設置成本

我也知道,我可以排除使用<ExcludeShipToLocation></ExcludeShipToLocation>標籤的位置。

但是,我怎麼能添加額外的艦對位置沒有指定相應的成本? (對於某些地區,我想要求買家與賣家聯繫),通過編輯在Ebay的項目

我知道這是可以做到的,但我怎麼能做到這一點通過API?可能嗎?

回答

0

我回來在這個問題上的一些個月後,我終於找到了我在做什麼錯。

其他艦沒有代價的位置/服務應在項目級別指定的,而不是在ShippingDetails。

<Item> 
    <ShipToLocations>string</ShipToLocations> 
    <ShippingDetails>...</ShippingDetails> 
</Item> 

而且順便說一句,這裏有可能的收貨地點值: https://developer.ebay.com/devzone/finding/callref/Enums/shipToLocationList.html

1

到位置該附加船可以在

Item.ShippingDetails.InternationalShippingServiceOption.ShipToLocation 

容器而不指定成本或服務進行指定。這就像在eBay上一樣。

http://developer.ebay.com/devzone/xml/docs/reference/ebay/additem.html#Request.Item.ShippingDetails.InternationalShippingServiceOption.ShipToLocation

http://developer.ebay.com/DevZone/guides/ebayfeatures/Development/Shipping-Locations.html

+0

我試過,但現在看來,這是不可能的,而不指定服務指定一個國際收貨地點,並無法指定服務而不指定成本。 然而該解決方案是你的第二個環節,所以非常感謝您的幫助! – Zebx