Manage fulfillments

Manage fulfillments

Harold4
Shopify Partner
1 0 0

When I was developing the fulfillment service, I followed this document to develop https://shopify.dev/docs/apps/fulfillment/fulfillment-service-apps/manage-fulfillments
But I found a problem when I was in the eighth and ninth steps, I did not receive the request from <callback_url>/fetch_stock, but I received
Request for <callback_url>/fulfillment_order_notification
Has anyone had a similar problem like me?

Reply 1 (1)

lizk
Shopify Staff
246 58 79

Hi there 👋

Your fulfillment service can expect to receive requests for both <callback_url>/fetch_stock and <callback_url>/fulfillment_order_notification. 

 If fulfillment_service.inventory_management is set to true, then Shopify makes a request to the /fetch_stock endpoint for the inventory of an individual SKU when the product is set up initially, when its SKU is changed in the Shopify admin, or when its inventory management is set to use the fulfillment service. I would recommend verify that fulfillment_service.inventory_management is set to true and a  /fetch_stock trigger occurred.

To learn more visit the Shopify Help Center or the Community Blog.