Skip to main content
Published: December 06 2004, 6:25:00 PMUpdated: November 28 2020, 1:17:41 PM

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