我想通过那里的 Trading API 在 eBay 上列出一些项目,但他们的 API 非常复杂,我需要一些帮助。
我可以很好地通过 API 在 eBay 上列出商品,但我似乎无法弄清楚如何像在 eBayaddItem
页面上那样拥有多个运输选项
这是我需要通过 API 在 eBay 上进行的运输设置 http://i.cubeupload.com/F4oURU.png
这是我的xml
<?xml version="1.0" encoding="utf-8"?>
<AddItemsRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<ErrorLanguage>en_US</ErrorLanguage>
<AddItemRequestContainer>
<MessageID>100</MessageID>
<Item>
<StartPrice currencyID=\"CAD\">223.96</StartPrice>
<CategoryMappingAllowed>true</CategoryMappingAllowed>
<ConditionID>1000</ConditionID>
<Country>CA</Country>
<Currency>CAD</Currency>
<Title>TEST</Title>
<Description>DEscription</Description>
<DispatchTimeMax>3</DispatchTimeMax>
<ListingDuration>Days_7</ListingDuration>
<ListingType>FixedPriceItem</ListingType>
<PaymentMethods>PayPal</PaymentMethods>
<PayPalEmailAddress> [-- myPayPalEmail --] </PayPalEmailAddress>
<PictureDetails>
<Item.PictureDetails.PictureURL>
http://www.jccayer.com/productphoto/2793-22-1_ep1.jpg
</Item.PictureDetails.PictureURL>
<PictureURL>http://www.jccayer.com/productphoto/2793-22-1_ep1.jpg</PictureURL>
</PictureDetails>
<PostalCode>K0A1M0</PostalCode>
<PrimaryCategory>
<CategoryID>279</CategoryID>
</PrimaryCategory>
<Quantity>6</Quantity>
<ReturnPolicy>
<ReturnsAcceptedOption>ReturnsAccepted</ReturnsAcceptedOption>
<RefundOption>MoneyBack</RefundOption>
<ReturnsWithinOption>Days_30</ReturnsWithinOption>
<Description>Text description of return policy details</Description>
<ShippingCostPaidByOption>Buyer</ShippingCostPaidByOption>
</ReturnPolicy>
<ShippingDetails>
<ShippingType>Flat</ShippingType>
<ShippingServiceOptions>
<ShippingService>CA_UPSStandardCanada</ShippingService>
<ShippingServiceCost>21.50</ShippingServiceCost>
<ShippingServiceAdditionalCost>5.00</ShippingServiceAdditionalCost>
<ShippingServicePriority>1</ShippingServicePriority>
</ShippingServiceOptions>
<InternationalShippingServiceOption>
<ShippingService>CA_UPSStandardUnitedStates</ShippingService>
<ShippingServiceCost>50.50</ShippingServiceCost>
<ShippingServiceCost>10.00</ShippingServiceCost>
<ShipToLocation></ShipToLocation>
<ShippingServicePriority>2</ShippingServicePriority>
</InternationalShippingServiceOption>
</ShippingDetails>
<Site>Canada</Site>
</Item>
</AddItemRequestContainer>
<RequesterCredentials>
<eBayAuthToken>[INSERT YOUR OWN AUTH TOKEN]</eBayAuthToken>
</RequesterCredentials>
</AddItemsRequest>
有谁知道我如何匹配那张照片上的那些设置?