First of all, thanks for your answer.
Symfony messenger component handles background and queue operations, but the point that confuses me is;
There are many api owned by many users.
User 1: 1x amazon, 2x ebay, 3x aliexpress api
User 2: 2x amazon, 1x ebay, 5x aliexpress api
and more
Example DB structure;
integrations Table
user_id, integration_id, type, auth_token
Let's say that for each api registered in the database, I opened a connection in order and pulled the marketplace orders from api and saved them with the id of the relevant user to the orders table. This is the process that comes to mind, but I have concerns. So I'm wondering if anyone has a better idea.