Order and product filtering by timestamps

filtering
products
javascript

#1

Hello! Is there any way to filter orders and/or products by the timestamps (“created_at”, “updated_at”) in the “meta” portion of the objects? I’m not seeing anything like that documented in the API reference.

We’re developing a JS-based integration, and are imagining high-volume scenarios and looking to cut down on network load – i.e. filtering after a call would most likely not be the right approach.

Thanks!


#2

Hi @nick.keller.os

Right now filtering by the created_at & updated_at fields is only available fo orders. You can filter using ?filter=gt(created_at,2018-07-12).

I’ll add a feature request to roll this out to products, although I can’t be 100% sure on a timeframe for this just yet.

Thanks,
James


#3

Hi James,

Excellent! Thank you!


#4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.