Is there a faster way to retrieve products and its variations?
Our use case is that we fetch products from hundreds of stores (our customers, that has authorized our app), creating product feeds for them to use in external systems.
We are using the GraphQL endpoint, and I’m running a bulkOperationRunQuery mutation on productVariants, which is also fetching its product. I’m then polling the BulkOperationId for a total of 30 times (somewhere around 6 minutes).
But this operation is very slow! At best 5-10 seconds, most often 20-30 seconds and sometimes it even times out!
And even worse, during the time it processes in the background, I’m not allowed to start other processes, as it says ”A bulk query operation for this app and shop is already in progress”. Isn’t this sort of the point with background operations? That you can run multiple?
For our use case, this is very annoying. Image fetching hundreds of feeds, where some feeds takes minutes, and we are not allowed to make any other calls during this whole period! And we do this every night.
Isn’t there a faster method to do this? Ideally synchronously, if it is < 10 seconds.
We have similar functionality for WooCommerce for example, and it takes a second or two to fetch even big sets of data.