SAM API: real-time two-way sale notifications to prevent duplicate sales
We can prevent duplicate sales by implementing real-time sale notifications between the SAM server and the API clients (online shops). The communication will happen in both ways. When a sale is processed in SAM, the SAM server will notify the API clients. When a sale is closed through an API client, the client will notify the SAM server.