Skip to main content
Published: December 06 2004, 6:25:00 PMUpdated: July 19 2022, 4:46:21 AM

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.FixedPriceItem;
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