question

thomvl avatar image
0 Likes"
thomvl asked

Only show active items with findItemsByKeywords(or advanced) call using itemFilters

Hi all, the title says it all.. I'm trying to do a search that only contains active auctions, is there a way to do that? I thought of some dirty trick using 'EndTimeFrom' with Date.now(), but im not sure if that is going to work (time changes between firing the call and process on the server thus creating a time gap). I've managed to add several filters like Condition and ListingType. Thanks in advance!
itemfinditemsbykeywordsitemfilteractive
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
clickimusprime avatar image
0 Likes"
clickimusprime answered
The call only returns active items. If the problem is that you are getting items with only seconds remaining, then EndTimeFrom is the solution.
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.