Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
What is the most appropriate webhook to use when a product on an order has been fulfilled?
I'm looking at the following as candidates, although perhaps I missed one:
What I will be doing:
This should work regardless of whether it's a "partial" fulfillment or "full" fulfillment. If a tracking number is added to a product, I need to know.
I don't want to be notified about every single update to an order. I don't want to be notified multiple times for the same product. I don't want to only receive notifications if the entire order is fulfilled.
Your help is appreciated - thank you!
Solved! Go to the solution
This is an accepted solution.
Apparently can't edit my post. Silly.
It appears that fulfillments/create is what I wanted.
However, be aware to look out for the "status" attribute. I only want to send when the fulfillment is actually complete, which would be a status of "success". I noticed that if we're sending it to a 3PL integration that it will say "pending" when it's just accepted, and eventually will send again (I expect? Unless it sends an update later on ... will see.)
Bump
It appears that fulfillments/create is what I wanted.
This is an accepted solution.
Apparently can't edit my post. Silly.
It appears that fulfillments/create is what I wanted.
However, be aware to look out for the "status" attribute. I only want to send when the fulfillment is actually complete, which would be a status of "success". I noticed that if we're sending it to a 3PL integration that it will say "pending" when it's just accepted, and eventually will send again (I expect? Unless it sends an update later on ... will see.)