
Originally Posted by
DrByte
Are you sure that you REALLY want to use an API to load prices IN REAL TIME?
EVERY price that is displayed in Zen Cart will have to be requested separately for EVERY place ANY price is displayed on the screen, OR used in a calculation to come up with EVERY number displayed on the screen.
If you've got a very busy site, then you'll be brokering thousands of inquiries per second, effectively blasting their API server. That's very inefficient and will likely result in a very slow experience for your customer. Not to mention the technical problems it'll create for the people who run the API server.
It's much more efficient for you to run an API call, even if it's every 10 minutes, to request all the updated prices for all the products, ideally in one request if possible, and update all your store's prices accordingly. That's way more friendly to the folks who run the API server, and it's a much better experience for your customers.