URL to obtain product prices and inventory remotely
**Integrate your pricing structure through Handy's web service. **
It is possible to integrate a custom pricing logic connected to your company’s management system (ERP) in real time for the following purposes
- Instantly calculate each client's price at that moment
- Verify inventory stock in real time
In this integration, each time a product is added to an order, your web service will be queried in real-time to return the correct price and inventory to the user.
The request happens very quickly. Here's an example:

This process requires the user to be connected to the internet at that moment.
Without a stable internet connection, the price locally stored in the device will be used, which will match the price obtained from the last web service request. If no price had been obtained before, the regular list price will be used.
This integration works through a web service running on your server that connects to your database/ERP to calculate the price that corresponds to each client, based on the variables you like, such as:
- Who the client is
- The product combinations there are
- How much of each product is ordered
- Who the salesperson is and what area they're in
To integrate this feature, you must create a web service, in the programming language you prefer, that it accepts POST web requests with the data in JSON format, as follows:

As you can see, the request has the client, the products, the amounts, and an additional field called "extras" that you can customize for each user. In this field, you can add the area or city, or any other personalized information for each user that you want to be considered in the calculation.
The "extras" field is optional and is set up in the web portal, in the user's data:

Your web service will take this data, connect to your database or ERP, and make the corresponding calculations to give you the correct information on price and inventory stock.
The answer should be structured as follows:

Once you've developed your web service, you must expose it to the internet so that the mobile apps can access it.
👁 We DO NOT recommend exposing the service unless it is linked to a domain or subdomain with a valid SSL certificate, and it also supports Basic Auth authentication. If these requirements are not met, a third party could intercept the request and gain access to its data and your web service.
Once your service has been secured, access your company settings and save the address in the "Integrations" tab:

If your URL has basic authentication, it's important to include your user and password in the same URL.
User and password can be specified in the following way:
__https://user:password@mydomain.com/service__
Where you'll replace the user and password with your own.
Make sure that neither the user nor the password has an @, as this character is used to separate the domain from the credentials in the URL format.
Example
User: myuser
Password: mypassword
Service URL: https://mydomain.com/se__rvice__
Your URL would be:
https://myuser:mypassword@mydomain.com/service
To make the example clearer and provide you with sample code, we’re sharing this Glitch project where you can see how to achieve the goal through a simple web service developed in NodeJS/Express. It calculates customer-specific prices and inventory by connecting to a SQL Server Stored Procedure:

👉 REMIX IT HERE 👈 🎏
Updated on: 01/30/2026
Thank you!