eBay Shopping APIVersion 1293
 

GetShippingCostsRequestType ( AbstractRequestType )

Gets shipping costs for a listing. This is one of the ways a buyer or seller can obtain shipping cost information for an existing item (for which the caller is either the buyer or seller) at any point in the life of the listing, before or after a buyer has committed to purchasing the item(s). This call works for both flat-rate shipping and calculated shipping. Flat-rate shipping costs are established by the seller before bidding occurs. Calculated shipping costs are calculated by eBay with its shipping partners based on postal code. To determine whether a listing has ended, use GetSingleItem. It is best to call GetShippingCosts only after determining via GetSingleItem or findItemsAdvanced (Finding API) that the item actually has shipping cost information.

Call that uses GetShippingCostsRequestType:

Fields



DestinationCountryCode ( CountryCodeType ) [0..1]
Destination country code. If DestinationCountryCode is US, postal code is required and represents US zip code.
See the Field Index to learn which calls use DestinationCountryCode.

DestinationPostalCode ( string ) [0..1]
Destination country postal code (or zip code, for US). Ignored if no country code is provided. Optional tag for some countries. More likely to be required for large countries. Ignored for flat-rate shipping.
See the Field Index to learn which calls use DestinationPostalCode.

IncludeDetails ( boolean ) [0..1]
This field should be included and set to true if the user would like the ShippingDetails returned in the response.
See the Field Index to learn which calls use IncludeDetails.

ItemID ( string ) [0..1]
The item ID that uniquely identifies the listing for which to retrieve the data.
See the Field Index to learn which calls use ItemID.

QuantitySold ( int ) [0..1]
Quantity of items sold to a single buyer and to be shipped together.
See the Field Index to learn which calls use QuantitySold.