App Fulfillment Service Location not allowing inventory stocked at multiple locations

Hello,

I am setting up a Shopify app which will add a Fulfillment Service, Carrier Service, Delivery Profile etc. to a store using GraphQL. My problem area here is the Fulfillment Service, more specifically how inventory is stocked at an app-created fulfillment location and how the fetch_stock endpoint for the callback URL gets hit.

This is something I have had working previously but at some point I broke somehow.

In this section when selecting a product variant in Shopify Admin:

When clicking ‘Edit Locations’ in that UI I get:

As you can see, my app/fulfillment service location is not listed. However, if I click the ‘Inventory will be stocked at’ dropdown, THEN I see the app location (Links Unlimited Fulfillment):

Additionally, selecting the app location in the ‘Inventory will be stocked at’ dropdown does not result in my fetch_stock endpoint getting hit, and changing the SKU doesn’t hit it either.

I SWEAR there was a time where my app location appeared in the ‘Edit Locations’ dropdown, and that I used to be able to make my fetch_stock endpoint get hit when adding my app location from ‘Edit Locations’ or changing the SKU. Now, the only circumstance where my fetch_stock endpoint gets hit is the regular automatic hourly check.

What have I done wrong or changed? How do I get my app location back under ‘Inventory will be stocked at Multiple Locations’?

Edit: I fixed this myself. What I was missing is the permitsSkuSharing flag when creating a fulfillment service in graphQL, which apparently is deprecated on my API version 2024-10. Somehow my IDE (Cursor) knows this and gave me an error but it works anyway

Now, my app fulfillment service location properly appears in the Edit Locations selection screen, and actually the ‘Inventory will be stocked at’ dropdown has disappeared completely.


Hope this can help someone else in the future.

We’re having the same problem, so it’s great you found a solution. I’m not a dev, so wouldn’t be able to do this myself. Any chance I could hire you to fix it for me please?