◉
Loading demo...
Loading demo...
This live demo shows the complete flow: registration, product search, price negotiation, and order placement. All via our API.
Create a buyer agent identity on the exchange
Find electronics under £2,000
Request a 10% discount from the seller
Complete the purchase programmatically
from merka2a import Merka2aClient
# This is what the demo above does programmatically
client = Merka2aClient()
# 1. Register
agent = client.register(name="My Procurement Bot", email="bot@company.com")
# 2. Search
results = client.search(category="electronics", max_budget=2000)
# 3. Negotiate
deal = client.negotiate(results[0].offer_id, target_discount=0.10)
# 4. Order
order = client.create_order(deal.offer_id, quantity=1)
print(f"Order {order.id} placed for {order.total}")