I'm using the SOAP API for listing fixed-price auctions. I currently list using a flat domestic shipping, but want to add flat international shipping. My
vb.net code looks like this: Dim sdt As ShippingDetailsType = New ShippingDetailsType sdt.ShippingType = ShippingTypeCodeType.Flat sdt.InsuranceOption = InsuranceOptionCodeType.NotOffered sdt.PaymentInstructions = "xxxxxxxxxxx" sdt.ShippingServiceUsed = "USPSFirstClass" Dim ssot(0) As ShippingServiceOptionsType at = New AmountType at.currencyID = CurrencyCodeType.USD at.Value = Convert.ToSingle([some value]) ssot(0) = New ShippingServiceOptionsType ssot(0).ShippingServiceCost = at ssot(0).ShippingService = "USPSFirstClass" sdt.ShippingServiceOptions = ssot it.ShippingDetails = sdt ' where "it" is "ItemType" I tried adding a second element to the ShippingServiceOptionsType array with "USPSFirstClassMailInternational" as the ShippingServiceUsed, but got the following error: "*USPS First Class Mail Intl / First Class Package Intl Service is not a valid domestic Shipping Service*" What do I have to do to add an flat international shipping cost??
Thanks, @shrut_h. I figured out that I needed to create a **InternationalShippingServiceOptionsType**, but I'm confused about how to assign it to the **ShippingDetails**. I'm currently creating a **ShppingServeOptionsType** for the domestic shipping and assigning it to a item.shippingDetails object: it.ShippingDetails = sdt How do I also assign the **InternationalShippingServiceOptionsType** to the **ShippingDetails** object??