We are a multi-tenant Shopify app integrates with Shopify using the webhooks to update products and inventory level in real-time. Our merchants are primarily small shops with not that many employees and sales.
However we are seeing just a massive amount of webhook events coming in. Here is an example of what we get from 1 merchant during 1 day.
PRODCUTS_UPDATED: 82,059
INVENTORY_LEVELS_UPDATE: 79,394
ORDERS_UPDATED: 5,144
ORDERS_CREATE: 2,982
COLLECTIONS_UPDATE: 58
SHOP_UPDATE: 21
ORDERS_CANCELLED: 9
COLLECTIONS_CREATE: 3
These numbers tell me that there is just no way humans have produced this. Am I correct in interpreting that this is caused by some other 3rd party tool that is using the Shopify API to constantly update the entities which will then trigger these to us? I’m wondering if other people have experienced something like this and how they dealt with it? We haven’t implemented any smart filtering before hitting the DB layer yet so at this point, it’s at a point of DDOS attack almost with so many merchants sending these webhooks .