Skip to main content
Published: September 10 2008, 12:59:00 PMUpdated: August 09 2022, 1:27:19 AM

I heard there are new durations for FixedPriceItems - 30 days and GTC (Good 'Til Cancelled).  How can I list items with these durations?

Adding a FixedPriceItem with the new 30 day and GTC durations is very easy, and does not differ much from the existing format.  The first thing to do is to make sure that 30 day and GTC listing durations are available for the category you're listing in.  (At the time this article is written, 9/10/2008, these formats are not yet available for FixedPriceItems in production)

To determine if GTC and 'Days_30' are valid formats for your category, you can use GetCategoryFeatures, along with the category ID you wish to list in.  We won't go into too much detail about how to do this, but there is some documentation here: https://ebay.custhelp.com/cgi-bin/ebay.cfg/php/enduser/std_adp.php?p_faqid=426.  In a nutshell, you simply need to check the GetCategoryFeatures response for a ListingDuration.durationSetID = to that of a FixedPriceItem (see the document for more information). 

Once you'ver verified that the category you wish to list in does in fact support Days_30 or GTC, you can then make the AddItem call to list your item.  An example call follows:

AddItem with GTC
  <?xml version="1.0" encoding="utf-8" ?>
- <AddItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">
  <Version>547</Version>
  <ErrorLanguage>en_US</ErrorLanguage>
  <WarningLevel>High</WarningLevel>
- <Item>
- <ReturnPolicy>
  <ReturnsAcceptedOption>ReturnsAccepted</ReturnsAcceptedOption>
  <RefundOption>Exchange</RefundOption>
  <ReturnsWithinOption>Days_30</ReturnsWithinOption>
  <Description>Detailed explanation of seller's policy here</Description>
  <ShippingCostPaidByOption>Buyer</ShippingCostPaidByOption>
  </ReturnPolicy>
  <Country>US</Country>
  <Currency>USD</Currency>
  <Description>My Item</Description>
  <ListingDuration>GTC</ListingDuration>
  <Location>San Jose, CA</Location>
  <PaymentMethods>PaymentSeeDescription</PaymentMethods>
  <PaymentMethods>PayPal</PaymentMethods>
  <PayPalEmailAddress>ve2@aol.com</PayPalEmailAddress>
- <PrimaryCategory>
  <CategoryID>14111</CategoryID>
  </PrimaryCategory>
  <Quantity>1</Quantity>
  <StartPrice>1.0</StartPrice>
  <ShippingTermsInDescription>True</ShippingTermsInDescription>
  <Title>My Item</Title>
- <ShippingDetails>
  <ShippingType>Flat</ShippingType>
- <InsuranceDetails>
  <InsuranceOption>Optional</InsuranceOption>
  <InsuranceFee>3.5</InsuranceFee>
  </InsuranceDetails>
- <ShippingServiceOptions>
  <ShippingServicePriority>1</ShippingServicePriority>
  <ShippingService>UPS2ndDay</ShippingService>
  <ShippingServiceCost>5</ShippingServiceCost>
  <ShippingServiceAdditionalCost>1</ShippingServiceAdditionalCost>
  <ShippingSurcharge>1</ShippingSurcharge>
  </ShippingServiceOptions>
  </ShippingDetails>
  <ListingType>FixedPriceItem</ListingType>
-   </Item>
- <RequesterCredentials>
 
<eBayAuthToken>xxx</eBayAuthToken>
  </RequesterCredentials>
  </AddItemRequest>

In the same way you can list an item for 3 days, 5 days, etc... you can simply specify a ListingDuration of Days_30 or GTC, and a ListingType of FixedPriceItem.  No other changes are required to take advantage of these durations with fixed price items.

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