How to fetch all orders that were fulfilled yesterday

How to fetch all orders that were fulfilled yesterday

ohreallyhmmmm
Tourist
12 2 4

How to fetch all orders that were fulfilled yesterday?

 

This should include partial and full fulfillments.

 

I thought I could use the orders endpoint, and filter by "updated_at", however this does not appear to be possible?

 

The documentation suggests using the Webhook or Event APIs.

 

The event API does not work in our case, as no fulfillments are being logged in the event API (order creation, and product changes are).

 

Currently I'm looking to create a webhook against the fulfillments/create endpoint, and fetch against this each day.

 

Is there another way?

Reply 1 (1)

garyrgilbert
Shopify Partner
428 41 178

Hey there,

 

Hmm, you could use orders/fulfilled and orders/partially_fulfilled in tandem, that should give you what you are looking for as well, though I don't know what other information you need, so can't tell you which is better these two or fulfillments/create. Take a look at which info each returns and make your decision based on what you need I guess.

 

Cheers,

 

Gary

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution