New order slow to appear when queried from API

FezVrasta
New Member
11 0 0

Hi, I'm trying to execute an action as soon as possible after an order has been made (through the POS app).

I poll the 2021-04/orders.json endpoint every 500ms (only on particular circumstances, not 24/7) and it usually takes 8 seconds for a new order to be returned from the API.

Am I doing something wrong or is it really this slow?
Is there any other way to get notified when an order is made?

The webhook usually takes between 12 and 30 seconds to fire so I can't use it.

0 Likes