A robust and secure REST API purpose-built for the Seed Production and Marketing Development Centre — enabling seamless POS transactions, inventory management, and sales reporting.
Full catalogue with variety, grade & pricing
Real-time order processing & receipts
Live stock levels across all seed varieties
Sales analytics & daily summaries
Designed to support front-counter seed sales, back-office inventory management, and executive-level reporting all through a single API.
API key-based and Bearer token authentication with role-based access control for cashier, supervisor, and admin roles.
Browse and search seed products by crop variety, season, grade, lot number, and availability — including certified seed details.
Create, confirm, and void sales transactions with automatic invoice numbering, tax handling, and receipt data generation.
Real-time stock level queries, low-stock alerts, and batch/lot tracking across multiple storage locations.
Farmer customer profiles, purchase history, and subsidy eligibility records for agricultural beneficiary programs.
Daily, weekly, and monthly sales summaries, product-wise breakdowns, and exportable reports for audit and analysis.
All endpoints versioned under
/api/v1.
Authentication via
X-API-Key header required.
Connect your POS terminal or application to the SPMDC API in four simple steps.
Contact the SPMDC system administrator to obtain your API credentials.
Send your key in the X-API-Key header with every request.
Read the API documentation and integrate products, orders, and inventory into your POS application.
Switch to the production URL and start processing real SPMDC seed sales.
Designed, developed, and maintained by BRYLIX for the Department of Agriculture, Sri Lanka.