FulfilmentOrder callbacks and IP filtering

Hi,

We recently received a notification stating that on March 31st the fulfilment API, that we are calling will be deprecated. As I have worked to understand the code to make the necessary migration to the Fulfilment Order API, I have uncovered a potential roadblock.

From the documentation (https://shopify.dev/docs/apps/fulfillment/fulfillment-service-apps/manage-fulfillments),,) it states -‘Note: Fulfillments can’t be created for a fulfillment order before the fulfillment service accepts the fulfillment request.’

The fulfilment request is delivered in the form of a callback. So to implement the new Fulfilment Order workflow, we need to implement callbacks… -Is this correct?

This is a concern as I suspect the callback will not work unless we can whitelist Shopify’s IP addresses, as we protect our integration environment using IP filtering. I have also found a statement online from a Shopify representative, saying that Shopify will not provide an IP range(s) for whitelisting.

Can anyone confirm that what I have read is correct.?

Any help would be much appreciated,

So after doing more digging it appears you do not need to use the callback, but an additional step has been added that requires calling the ‘assigned fulfilment orders’ API, to get a list of fulfilment orders, then one by one call the ‘fulfilment request/accept’ API to accept the request, as per the quoted line above.

Once that is done we can then create a fulfilment for the order…

In the words of Ren and Stimpy… ‘Happy Happy Joy Joy’