Skip to main content
Published: July 12 2007, 4:34:00 PMUpdated: November 28 2020, 1:27:30 PM

Is the durationSetID of  ListingDuration unique across all sites ?

Detailed Description

  Yes, the durationSetIDs returned in GetCategoryFeatures is unique across all eBay sites. The durationSetIDs  apply to all sites equally as Duration sets are not site-specific.

   When make  the GetCategoryFeatures against different SiteID,  the call always returns the same Duration set for a given durationSetID.  For example, for the durationSetID= "1",   there are four Duration options: Days_3, Days_5, Days_7, Days_10, so that all Chinese items on all sites in default support those duration.

  <?xml version="1.0" encoding="utf-8" ?>

      <GetCategoryFeaturesResponsexmlns="urn:ebay:apis:eBLBaseComponents">
              <Timestamp>2007-07-13T23:06:47.560Z</Timestamp>
              <Ack>Success</Ack>
      <Version>519</Version>
             <Build>e519_intl_Bundled_4900998_R1</Build>
             <CategoryVersion>458</CategoryVersion>
      <UpdateTime>2007-07-13T09:42:44.000Z</UpdateTime>
           <SiteDefaults>
        <ListingDuration type="LeadGeneration">19</ListingDuration>
        <ListingDuration type="FixedPriceItem">1</ListingDuration>
        <ListingDuration type="PersonalOffer">1</ListingDuration>
        <ListingDuration type="StoresFixedPrice">4</ListingDuration>
                  <ListingDuration type="AdType">2</ListingDuration>
        <ListingDuration type="Live">1</ListingDuration>
        <ListingDuration type="Dutch">1</ListingDuration>
        <ListingDuration type="Chinese">1</ListingDuration>
     </SiteDefaults>
     <FeatureDefinitions>
     <ListingDurations Version="2">
        <ListingDuration durationSetID="4">
                       <Duration>Days_30</Duration>
         <Duration>Days_90</Duration>
          <Duration>GTC</Duration>
             </ListingDuration>
        <ListingDuration durationSetID="19">
                        <Duration>Days_28</Duration>
            </ListingDuration>
        <ListingDuration durationSetID="2">
                        <Duration>Days_30</Duration>
                        <Duration>Days_90</Duration>
              </ListingDuration>
        <ListingDuration durationSetID="1">
                        <Duration>Days_3</Duration>
                        <Duration>Days_5</Duration>
                        <Duration>Days_7</Duration>
                        <Duration>Days_10</Duration>
       </ListingDuration>
    </ListingDurations>
  </FeatureDefinitions>
  </GetCategoryFeaturesResponse>
 

 Version Info

The code example above was based on the versions specified below:

API Schema Version 519


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