Orders event api not firing new order events

I am not able to use orders event api to monitor new orders placed in a store.

I am using the following api endpoint.

“GET /admin/api/2020-04/events.json?filter=Order&verb=placed”

getting empty response.

{events:{}}

Please suggest if I am doing something wrong.

Try confirmed instead of placed.

Also, depending on your use-case, a webhook might make more sense.

Thanks for the response.

If I use “confirmed” it’s returning list of all the orders confirmed, not only the newly created one.

If I create a webhook, it will execute a piece of code or notify me when a new order will get created. But how will I get that newly created order details in real time?

Please help.

Hey @Souravv

Newly created as in open orders? The Orders API will give you open orders by default.

Regarding the orders/create webhook, here’s an example payload, which contains order information.

Thanks scottydont..

Webhooks are just the thing I need. It’s working fine.

Hi @SBD ,
GET/admin/api/2023-01/events.json?filter=Order&verb=placed
I’m also getting an empty response. Any suggestions for me on how to get placed order data in-store using rest api?

shalukumari_0-1675175298349.png

Thanks