Skip to main content
Published: September 29 2006, 4:23:00 PMUpdated: November 28 2020, 2:32:56 PM

Mixing Flat and Calculated Shipping in AddItem

Summary

API Version 477 introduced the ability to offer a mix of Flat and Calculated Shipping for your item. You cannot mix shipping types within Domestic and International shipping options but two more shipping types were introduced to enable a seller to use flat rate shipping for the domestic services and calculated shipping for the international shipping services, or vice versa.. 

Below are examples of the two mixed shipping options:


A seller can offer up to three domestic shipping services and up to three international shipping services. All domestic services must be the same shipping type (for example, Flat versus Calculated); the same is true for international shipping services offered by the seller.

Flat Domestic Calculated International

 <?xml version="1.0" encoding="utf-8"?>
<AddItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">
  <ErrorLanguage>en_US</ErrorLanguage>
  <WarningLevel>High</WarningLevel>
  <Item>
    <Title>Flat Domestic Calculated International Test</Title>
    <Description>Your description here</Description>
    <PostalCode>95125</PostalCode>
    <Currency>USD</Currency>
    <Quantity>1</Quantity>
    <ListingDuration>Days_7</ListingDuration>
    <StartPrice>1.00</StartPrice>
    <Country>US</Country>
    <PrimaryCategory>
      <CategoryID>2312</CategoryID>
    </PrimaryCategory>
    <ShipToLocations>Worldwide</ShipToLocations>
    <ShippingDetails>
      <ShippingType>FlatDomesticCalculatedInternational</ShippingType>
      <CalculatedShippingRate>
        <OriginatingPostalCode>95125</OriginatingPostalCode>
        <PackageDepth unit="inches">2</PackageDepth>
        <PackageLength unit="inches">10</PackageLength>
        <PackageWidth unit="inches">7</PackageWidth>
        <InternationalPackagingHandlingCosts currencyID="USD">0.0</InternationalPackagingHandlingCosts>
        <ShippingPackage>PackageThickEnvelope</ShippingPackage>
        <WeightMajor unit="lbs">2</WeightMajor>
        <WeightMinor unit="oz">0</WeightMinor>
      </CalculatedShippingRate>
      <ShippingServiceOptions>
        <ShippingService>UPSGround</ShippingService>
        <ShippingServicePriority>1</ShippingServicePriority>
        <ShippingServiceCost currencyID="USD">6.0</ShippingServiceCost>
      </ShippingServiceOptions>
      <InternationalShippingServiceOption>
        <ShippingService>USPSFirstClassMailInternational</ShippingService>
        <ShippingServicePriority>1</ShippingServicePriority>
        <ShipToLocation>Worldwide</ShipToLocation>
      </InternationalShippingServiceOption>
    </ShippingDetails>
    <DispatchTimeMax>1</DispatchTimeMax>
    <PaymentMethods>PayPal</PaymentMethods>
    <PayPalEmailAddress>test@paypal.com</PayPalEmailAddress>
    <ReturnPolicy>
      <ReturnsAcceptedOption>ReturnsAccepted</ReturnsAcceptedOption>
      <Description>Return Policy description here</Description>
    </ReturnPolicy>
  </Item>
  <RequesterCredentials>
    <eBayAuthToken>token</eBayAuthToken>
  </RequesterCredentials>
</AddItemRequest>

Calculated Domestic Flat International

 <?xml version="1.0" encoding="utf-8"?>
<AddItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">
  <ErrorLanguage>en_US</ErrorLanguage>
  <WarningLevel>High</WarningLevel>
  <Item>
    <Title>CalculatedDomesticFlatInternational
Test</Title>
    <Description>Your description here</Description>
    <PostalCode>95125</PostalCode>
    <Currency>USD</Currency>
    <Quantity>1</Quantity>
    <ListingDuration>Days_7</ListingDuration>
    <StartPrice>1.00</StartPrice>
    <Country>US</Country>
    <PrimaryCategory>
      <CategoryID>2312</CategoryID>
    </PrimaryCategory>
    <ShipToLocations>Worldwide</ShipToLocations>
    <ShippingDetails>
      <ShippingType>CalculatedDomesticFlatInternational</ShippingType>
      <CalculatedShippingRate>
        <OriginatingPostalCode>95125</OriginatingPostalCode>
        <PackageDepth unit="inches">2</PackageDepth>
        <PackageLength unit="inches">10</PackageLength>
        <PackageWidth unit="inches">7</PackageWidth>
        <PackagingHandlingCosts currencyID="USD">0.0</PackagingHandlingCosts>
        <ShippingPackage>PackageThickEnvelope</ShippingPackage>
        <WeightMajor unit="lbs">2</WeightMajor>
        <WeightMinor unit="oz">0</WeightMinor>
      </CalculatedShippingRate>
      <ShippingServiceOptions>
        <ShippingService>UPSGround</ShippingService>
        <ShippingServicePriority>1</ShippingServicePriority>
      </ShippingServiceOptions>
      <InternationalShippingServiceOption>
        <ShippingService>USPSFirstClassMailInternational</ShippingService>
        <ShippingServicePriority>1</ShippingServicePriority>
        <ShippingServiceCost currencyID="USD">6.0</ShippingServiceCost>
        <ShipToLocation>Worldwide</ShipToLocation>
      </InternationalShippingServiceOption>
    </ShippingDetails>
    <DispatchTimeMax>1</DispatchTimeMax>
    <PaymentMethods>PayPal</PaymentMethods>
    <PayPalEmailAddress>test@paypal.com</PayPalEmailAddress>
    <ReturnPolicy>
      <ReturnsAcceptedOption>ReturnsAccepted</ReturnsAcceptedOption>
      <Description>Return Policy description here</Description>
    </ReturnPolicy>
  </Item>
  <RequesterCredentials>
    <eBayAuthToken>token</eBayAuthToken>
  </RequesterCredentials>
</AddItemRequest>

 

Information Regarding Error 10080

If the Mixed Shipping type feature is unavailable at any time, error 10080 will be returned.

 

How well did this answer your question?
Answers others found helpful