Class GetShippingCostsRequestType

Extends AbstractRequestType

class GetShippingCostsRequestType
Gets shipping costs for an item. 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 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, but note that insurance cost can only be determined once the final item price is known when the listing ends. To determine whether a listing has ended, use GetSingleItem. It is best to call GetShippingCosts only after determining via GetSingleItem or FindItems that the item actually has shipping cost information. Summary: Gets shipping costs for an item. RelatedCalls: GetSingleItem

Defined in com/ebay/shoppingservice/GetShippingCostsRequestType.js

Property Summary
Destination country code.
Destination country postal code (or zipcode, for US).
Indicates whether to return the ShippingDetails container in the response.
String itemID
The item ID that uniquely identifies the item listing for which to retrieve the data.
Number quantitySold
Number of items sold to a single buyer and to be shipped together.

Properties inherited from AbstractRequestType
messageID

Constructor Summary

Property Details

property CountryCodeType destinationCountryCode

Destination country code. If DestinationCountryCode is US, postal code is required and represents US zip code.


property String destinationPostalCode

Destination country postal code (or zipcode, 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.


property Boolean includeDetails

Indicates whether to return the ShippingDetails container in the response.


property String itemID

The item ID that uniquely identifies the item listing for which to retrieve the data.


property Number quantitySold

Number of items sold to a single buyer and to be shipped together.


Constructor Details

constructor GetShippingCostsRequestType

GetShippingCostsRequestType(Object props)

Parameters:
props