Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Possible to get a webhook when a product is added to a location?

Solved

Possible to get a webhook when a product is added to a location?

Aaron_Rubin2
Shopify Partner
11 0 1

Use case:

Customer sends an item to our warehouse. Customer changes the location of that product in Shopify to the location that corresponds to that location. We now should update the location with the stock we have. 

We're subscribed to Location creation, Location update, Product creation, Product update. We're not getting a webhook when  a product is added to a location.

Accepted Solution (1)

scott-m
Shopify Partner
1 1 1

This is an accepted solution.

Hey Aaron-

 

I don't have specific experience with doing this via Webhook but the entity that tracks items in a location is InventoryLevel. Looks like you can register for inventory_levels/connect, inventory_levels/disconnect, inventory_levels/update. I think that would give you the information you are looking for. In your use case connecting the product to the location would presumably result in that connect message.

View solution in original post

Reply 1 (1)

scott-m
Shopify Partner
1 1 1

This is an accepted solution.

Hey Aaron-

 

I don't have specific experience with doing this via Webhook but the entity that tracks items in a location is InventoryLevel. Looks like you can register for inventory_levels/connect, inventory_levels/disconnect, inventory_levels/update. I think that would give you the information you are looking for. In your use case connecting the product to the location would presumably result in that connect message.