For full functionality of this site it is necessary to enable JavaScript.
Here are the instructions how to enable JavaScript in your web browser.

Knowledge base

Find the answer to your question

Advanced Search PView

Search terms
Search Type
Product
Category
Language
Format
SDK
Sort by
Direction

Setting a GTC Duration in the .NET SDK

  • Answer ID 218
  • Published 12/06/2004 05:25 PM
  • Updated 10/20/2013 06:41 AM
  • Permalink https://ebaydts.com/eBayKBDetails?KBid=218
Product
How do I set a GTC Duration in the .NET SDK?


To specify Good Till Cancelled for a store item, you need to assign the following properties of the item object:

item.ListingType = ListingTypeCodeType.StoresFixedPrice;
item.ListingDuration = ListingDurationCodeType.GTC;

The ListingDuration field is the number of days the listing will be active. See the documentation for valid duration for each of the listing types.

How well did this answer your question?

Answers others found helpful

Print Email This Page Delicious Digg Facebook Reddit StumbleUpon Twitter