February 6, 2025·Product
Guide: Determine pricing through third-party systems
Shahed Nasser
![Shahed avatar](/_next/image/?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F5a711ubd%2Fproduction%2F98d0bac069c2232de85041a3ba86bcff8c16945a-460x460.jpg%3Fw%3D48%26h%3D48&w=48&q=75)
Shahed Nasser
Implement custom logic to retrieve product prices from third-party systems.
![Image modal](/_next/image/?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F5a711ubd%2Fproduction%2F715e279e012e93155e927b3aa30c6021c5b13832-3200x1672.jpg%3Fw%3D1280%26fm%3Dpng&w=3840&q=75)
Many commerce companies rely on product and pricing data from external systems, such as ERPs, PIMs, or other third-party APIs. Typically, this data needs to be replicated in the commerce platform to power checkout experiences, including adding products to a cart.
This is a challenge, as it requires spending a lot of resources building a robust integration syncing data between the systems. Medusa’s extensible architecture offers a simpler alternative where data is pulled from your external systems in real time, as your customers go through their checkout flow.
This technical guide demonstrates how to implement these capabilities in Medusa. It shows you how you can query real-time metal prices upon adding products to a cart. While this guide uses the GoldAPI as an external system, the approach would be the same for pulling in prices from your ERP or PIM.
Custom Line Item Pricing
Visit the step-by-step guide in the documentation
Several companies, including EKI, already use Medusa's custom line item pricing to leverage on-demand price retrieval in the checkout flow.