eBay Shopping Web Service

Method: GetShippingCosts

Description

Gets the shiping cost for a shopping item.

Action

Style

Document

Input (Literal)

The input of this method is the document element ns:GetShippingCostsRequest of type having the structure defined by the following table.

Element  Type  Occurs  Description 
    1..1   
ns:MessageID  xs:string  0..1  If you pass a value in MessageID in a request, we'll return the same value in CorrelationID in the response.
any    0..*   
ns:ItemID  xs:string  0..1  The item ID that uniquely identifies the item listing for which to retrieve the data.
ns:QuantitySold  xs:int  0..1  Number of items sold to a single buyer and to be shipped together.
ns:DestinationPostalCode  xs:string  0..1  Destination country postal code (or zipcode, for US).
ns:DestinationCountryCode  ns:CountryCodeType  0..1  Destination country code.
ns:IncludeDetails  xs:boolean  0..1  Indicates whether to return the ShippingDetails container in the response.

Output (Literal)

The output of this method is the document element ns:GetShippingCostsResponse of type having the structure defined by the following table.

Element  Type  Occurs  Description 
    1..1   
ns:Timestamp  xs:dateTime  0..1  This value represents the date and time when eBay processed the request.
ns:Ack  ns:AckCodeType  0..1  Indicates whether the call was successfully processed by eBay.
ns:Errors  ns:ErrorType  0..*  A list of application-level errors or warnings (if any) that were raised when eBay processed the request.
ns:Build  xs:string  0..1  This refers to the particular software build that eBay used when processing the request and generating the response.
ns:Version  xs:string  0..1  The release version that eBay used to process the request.
ns:CorrelationID  xs:string  0..1  If you pass a value in MessageID in a request, we will return the same value in CorrelationID in the response.
any    0..*   
ns:ShippingDetails  ns:ShippingDetailsType  0..1  Shipping-related details for the specified item.
ns:ShippingCostSummary  ns:ShippingCostSummaryType  0..1  Shipping-related details for the specified item.