REST API
Base URL: https://api.soostori.co.ke/v1
GET
/api/v1/productsList all products for a shopPOST
/api/v1/salesRecord a new sale transactionGET
/api/v1/salesRetrieve sales historyGET
/api/v1/inventoryGet current inventory levelsPOST
/api/v1/debtsRecord a new debt entryGET
/api/v1/debtsList outstanding customer debtsPOST
/api/v1/paymentsRecord a debt repaymentGET
/api/v1/reports/dailyGet daily sales summarySDKs & Libraries
Official
JavaScript / TypeScript
Official Node.js SDK for server-side integrations
Community
Python
Unofficial Python client for data pipelines and automation
Official
REST API
Full REST API accessible via any HTTP client
Authentication
API Keys
All API requests require a Bearer token in the Authorization header. Contact our developer team to get your API key.
curl -X GET https://api.soostori.co.ke/v1/products \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"
Webhooks
Real-time Event Notifications
Subscribe to real-time events for sales, inventory changes, and debt updates. We will POST to your endpoint whenever these events occur.
sale.createdsale Voidedinventory.low_stockdebt.payment_receivedCore Entities
Product
Sale
SaleItem
Debt
DebtPayment
Shop
Employee
Payment
Ready to integrate?
Get your API key, explore the documentation, and start building. Our team is available to help with technical questions.