Question about query filters

Hello!

Real quick question about query filtering…

Let’s say I create a new order record in the UI and then I wanted to query it right away using the public API. Would I need to specific order_date_from AND updated_from, or could I just use updated_from?

I assume when a new record is created, the system updates both the created_date and updated_date as the same value, correct?

All the best,
Colin

Hello @cschouten

Correct, the moment the order gets created, both fields should have the same date-time!

If you have automation rules running, there might be some difference though.

Have a great day!
TomasFD

Ah, good to know. That’s what I thought but I wanted to be sure.

As of right now, we don’t have any automation rules, but I’ll be sure to note that for posterity.

Thanks @tomasfd !

1 Like