Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
According to this: https://shopify.dev/docs/apps/fulfillment/fulfillment-service-apps/manage-fulfillments
When a FULFILLMENT_REQUEST is sent, as a fulfillment service you just get a notification that the store has made a fulfillment request, no order ID or fulfillment order ID.
The problem with this is that stores that do batching sends lots of fulfillment requests at the same time. This then forces the fulfillment service app to make a lot of extra API calls and extra processing, for each of these fulfillment requests, because (according to the documentation) the flow is to make an API call to the store to get all open fulfillment requests.
Is there anyway to get notified when a fulfillment request is made on an order? Just a webhook or fulfillment request for that order with the order ID or fulfillment order ID?
Or, is there a way to detect if the fulfillment request was made manually by the user, or by an app?
Thanks
Hi @JoesIdeas - thanks for getting in touch. This is really good feedback, we appreciate you reaching out and bringing this up. I've reached out to the product team to take a look at potentially considering implementing this in the future, but I can't can't make any guarantees and as a general rule, we can't always guarantee that all feedback will be implemented.
That said, I feel like it's a valid point, as what you said about it causing more polling to be added to the workflow could create bottlenecks and increase processing time for fulfillments for sure.
Hope this helps - let us know if we can clarify anything on our end and thanks again for reaching out - you raised a really good point here, I appreciate your insight.
Al | Shopify Developer Support
Developer Support @ Shopify
- Was this reply helpful? Click Like to let us 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