how to register for orders/partially_fulfilled webhook in shopify store.

Analytics-ML
Shopify Partner
1 0 0

Hi everyone,
I am new to the Shopify development and using Shopify webhooks to get realtime data. I have found orders/partially_fulfilled, in Shopify webhook events but was not able to register it on my store. The only webhook I see in the list is order fulfillment which is invoked when your whole order has been fulfilled from the store. Can anyone tell me what webhook should I register for the orders/partially_fulfilled webhook event, will be very glad to hear that.
TIA. 

Screen Shot 2019-11-09 at 3.42.40 PM.png Screen Shot 2019-11-09 at 3.45.55 PM.png

0 Likes
_JB
Shopify Staff
Shopify Staff
834 98 188

Hey @Analytics-ML,

 

The only webhook I see in the list is order fulfillment which is invoked when your whole order has been fulfilled from the store

This actually isn't the case. The Order fulfillment webhook fires each time a new fulfillment is created for an order, regardless of whether this moves the order to partially_fulfilled or fulfilled status.

 

If an order contains 5 items and those items are fulfilled separately in 5 different fulfillments, the order fulfillment webhook will fire 5 times. Subscribing to the order fulfillment webhook ensures you're notified of all new fulfillments being created in the store. 

JB | Developer Support @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

0 Likes
pontifex
New Member
1 0 0

Seems it is not true any more. I have many orders which are partially fulfilled and only if I fulfill each I receive a webhook with all items. Is the behavior somehow defined in configuration?

0 Likes
Karthikan
New Member
3 0 0

Seems like the webhook only triggering when all items in order fulfilled. Maybe some other way how to how when order becomes partially fulfilled?

0 Likes