How to query for missed product_listings/remove webhooks?

New Member
7 0 0

I think there is a current issue where deleted products do not always fire `product_listings/remove` webhooks. How can we query for these removals?

0 Likes
Shopify Staff
Shopify Staff
240 32 37

Hey @albertkang75,

 

You can't query for deleted items. One approach would be to get all the product IDs and compare them to your local copy:

 

GET /admin/api/2020-01/products.json?fields=id
0 Likes
New Member
7 0 0

I can't seem to get the fields filter to work for `/product_listings`.

0 Likes
Highlighted
Shopify Staff
Shopify Staff
240 32 37

The ProductListing resource is a little different. Try: 

/admin/api/2019-10/product_listings/product_ids.json

 

0 Likes