Build with Selfimart Developer Platform
Comprehensive APIs, SDKs, and tools to integrate e-commerce capabilities into your mobile apps and ERP systems.
import SelfimartClient from '@selfimart/api-client';
const client = new SelfimartClient({
apiKey: 'your-api-key',
baseUrl: 'https://selfimart.com/api/v1'
});
// Get products
const products = await client.getProducts();
// Add to cart
await client.addToCart(123, 2);
// Create order
const order = await client.createOrder({
shipping_address_id: 1,
payment_method: 'stripe'
});
Everything you need to integrate
Powerful tools and comprehensive documentation to build seamless integrations with the Selfimart platform.
RESTful API
Comprehensive REST API with full CRUD operations for all platform resources.
Secure Authentication
OAuth 2.0 and API key authentication with token-based access control.
Real-time Sync
Webhook support and real-time data synchronization capabilities.
SDK Generation
Auto-generated client libraries for JavaScript, PHP, Python, and more.
Analytics
Built-in API usage analytics and monitoring dashboard.
ERP Integration
Two integration methods for seamless ERP connectivity.
Get started in minutes
Follow our simple quick start guide to integrate Selfimart into your application. Our SDKs handle authentication, error handling, and retries automatically.
Create Account
Sign up for a developer account on the Selfimart platform.
Generate API Keys
Navigate to the Integration module and generate your API credentials.
Install SDK
Install the SDK for your preferred programming language.
npm install @selfimart/api-client
Start Building
Initialize the client and start making API calls.
import SelfimartClient from '@selfimart/api-client';
const client = new SelfimartClient({
apiKey: 'your-api-key',
baseUrl: 'https://selfimart.com/api/v1'
});
# Install JavaScript SDK
$ npm install @selfimart/api-client
# Or install PHP SDK
$ composer require selfimart/api-client
# Or install Python SDK
$ pip install selfimart-api-client
Two ways to connect your ERP
Whether you have a modern cloud ERP or a legacy on-premise system, we have an integration solution for you.
Direct API Integration
For modern ERP systems with API capabilities. Connect directly via webhooks and RESTful endpoints for real-time data synchronization.
- Real-time webhook notifications
- Bidirectional data sync
- Custom field mapping
- Source code integration
Plug & Play Middleware
For legacy ERP systems without API access. Install our lightweight desktop agent for automatic data synchronization.
- No ERP modification required
- Works with local databases
- Cross-platform support
- Auto-update capability
Explore the documentation
Comprehensive guides and references to help you build integrations quickly and efficiently.
Mobile Apps
Connect your iOS and Android applications to the Selfimart platform with our plug & play SDK.
ERP Connect
Integrate your ERP system using webhooks or our desktop agent middleware.
API Documentation
Complete API reference with interactive documentation and code examples.
SDK Generator
Download client SDKs for JavaScript, PHP, Python, and more languages.
Authentication
Learn about API key authentication, OAuth flows, and token management.
Webhooks
Set up real-time notifications for order, inventory, and product events.
Ready to start building?
Create your developer account and get instant access to API keys, documentation, and support.
Authentication Methods
API Key Authentication
For server-to-server integrations and simple API access.
X-API-Key: your-api-key-here
Bearer Token (OAuth 2.0)
For user-authorized access and mobile applications.
Authorization: Bearer your-access-token