Developers Program

Trading API - ShippingServiceCost is not returned in GetItem

Published: June 17 2010, 10:48:00 PMยทUpdated: August 11 2022, 5:07:28 AM

Products

Question

Why the ShippingServiceCost value for Non international shipping is not returned in GetItem ?Here is a snippet from the response: <ShippingDetails> <CalculatedShippingRate> <OriginatingPostalCode>02072</OriginatingPostalCode> <PackagingHandlingCosts currencyID="USD">7.0</PackagingHandlingCosts> <ShippingIrregular>false</ShippingIrregular> <ShippingPackage>PackageThickEnvelope</ShippingPackage> <WeightMajor measurementSystem="English" unit="lbs">3</WeightMajor> <WeightMinor measurementSystem="English" unit="oz">0</WeightMinor> </CalculatedShippingRate> <ShippingServiceOptions> <ShippingService>USPSMedia</ShippingService> <ShippingServicePriority>1</ShippingServicePriority> <ExpeditedService>false</ExpeditedService> <ShippingTimeMin>2</ShippingTimeMin> <ShippingTimeMax>9</ShippingTimeMax> </ShippingServiceOptions> <InternationalShippingServiceOption> <ShippingService>USPSPriorityMailInternational</ShippingService> <ShippingServiceCost currencyID="USD">62.65</ShippingServiceCost> <ShippingServicePriority>1</ShippingServicePriority> <ShipToLocation>CA</ShipToLocation> </InternationalShippingServiceOption> <InternationalShippingServiceOption> <ShippingService>USPSPriorityMailInternational</ShippingService> <ShippingServiceCost currencyID="USD">109.65</ShippingServiceCost> <ShippingServicePriority>2</ShippingServicePriority> <ShipToLocation>Worldwide</ShipToLocation> </InternationalShippingServiceOption> <ShippingType>CalculatedDomesticFlatInternational</ShippingType> </ShippingDetails>

Answer

Summary

For Calculated Shipping, Shipping costs are automatically calculated based on the buyer's shipping ZIP code or the country. The shipping type for the item in question is set to CalculatedDomesticFlatInternational, hence ShippingServiceCost tag is not returned for the Domestic shipping services in GetItem response.

How well did this answer your question?