How to know who deleted products from the store?

exoneon
Tourist
23 0 2

Hey,

 

How do I know who deleted products from my store? In Store Activity log, even I do not see the entire day logs, they are limited information available.

 

Best Regards.

Reply 1 (1)

garyrgilbert
Shopify Partner
397 40 165

Hi There,

 

As far as I am aware you would have to keep hitting load more until you found it. Unfortunately the activity log is still pretty much in its infancy without any filtering or searching. There is the events API endpoint which will let you view the events (activity) for specific things like products.

 

So you may be able to query the events,  The only problem is of course that you won't be able to query the product specific events since the product no longer exists, and the log for deleted products doesn't get kept, meaning you can't referece the logs via the product_id, though the log itself still exists.  

 

So you are pretty much left with the base event.json endpoint with a filter=Product and perhaps add a timeframe, if you know when it happened.

 

/events.json?limit=250&filter=product&verb=destory&created_at_min=[iso datetime]

 

Cheers and hope this helps.

 

Gary

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution