When using a dedicated external server, vendors need to link API endpoints to specific sub-items within their Kiosk listing. Below is the step-by-step workflow.
Log in to your vendor dashboard: partner.bm88.io/partner-kiosk
In the Manager Kiosks table, locate your API-enabled listing (indicated by a green checkmark 🟢 in the Api private column).
In the Action column, click the Folder icon 📂 (Inventory / Sub-items).
The Items & Inventory Management modal window will appear.
Locate your target product variant, navigate to the Action column, and click the Plus icon ➕ (Update API Link).
On the Update api link page, input your server's two API endpoints:
API get in stock:
Example URL: [https://api.your-domain.com/user/account_type?apikey=YOUR_KEY](https://api.your-domain.com/user/account_type?apikey=YOUR_KEY)
Expected Return Format (JSON): {"sum":10}
Click the green Test button to confirm accurate live stock counts.
Ordering API:
Example URL: [https://api.your-domain.com/user/buy?apikey=YOUR_KEY&order_id=](https://api.your-domain.com/user/buy?apikey=YOUR_KEY&order_id=){order_id}&quantity={so_luong}
Expected Return Format (JSON): [{"product":"credential_1"},{"product":"credential_2"}]
Click Test - Get 2 product to simulate fetching 2 test items.
Click the blue Save button to apply the API settings.
Delivered API order credentials and sales statuses (Sold) will be tracked in the historical log table below.