'How to implement integration with a third-party API for example for a CRM system?
For example, I'm writing my CRM system in Laravel. This CRM system will collect orders from various online stores and marketplaces.
One of the marketplaces provides an API where there is a limit of 21600 requests in 2 hours.
In the CRM system, I want to implement regular requests for each user to marketplace and save new orders to a database. Requests will come from my php (server). If the regularity of requests is 30 seconds, 1000 users, then in 2 hours my server will be forced to make 240 thousand requests.
The fact that requests will come with different headers for each user is not that important, right? Will all requests be sent from my server IP address?
In this case it is necessary for each crm system user to provide a proxy? Please explain how communication with third-party APIs takes place in web applications (for example, CRM), where the number of users can exceed 100 thousand.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|