Build with our
API
A powerful and flexible RESTful API to integrate the e-commerce platform with your systems. GraphQL ready coming soon.
API Overview
Everything you need to build integrated e-commerce applications
RESTful API
Complete REST API compliant with standards
GraphQL (Coming Soon)
Flexible and efficient queries with GraphQL
Webhooks
Real-time notifications for all store events
Multiple SDKs
Ready-made libraries for Node.js, Python, and PHP
Authentication & Security
Multiple authentication methods for every use case
API Keys
Simple keys for quick application integration
- Easy setup
- Server-friendly
- Customizable permissions
OAuth 2.0
Secure authentication for apps needing user permissions
- Multiple flows
- Refresh tokens
- Fine-grained scopes
JWT Tokens
JSON Web Tokens for stateless authentication
- High performance
- Verifiable
- Custom expiration
Get Started in Minutes
Ready-to-copy code examples
01// Install: npm install @halal-commerce/sdk02import { HalalCommerce } from '@halal-commerce/sdk';0304const client = new HalalCommerce({05 apiKey: 'your_api_key_here',06 environment: 'production'07});0809// Fetch all products10const products = await client.products.list({11 limit: 10,12 category: 'electronics'13});1415// Create a new order16const order = await client.orders.create({17 customer_id: 'cus_123',18 line_items: [19 { product_id: 'prod_456', quantity: 2 }20 ],21 shipping_address: {22 city: 'Tunis',23 country: 'TN'24 }25});2627console.log('Order created:', order.id);API Endpoints
Comprehensive coverage of all e-commerce operations
Official SDKs
Ready-made libraries to speed up development
Node.js
JavaScript/TypeScript library for servers
Python
Python library for quick integration
PHP
Composer-compatible PHP library
Rate Limits & Pricing
Flexible plans for all project sizes
Free
- Basic API access
- Community support
- Full documentation
Developer
- All endpoints
- Webhooks
- Email support
- Sandbox environment
Business
- All Developer features
- Priority support
- 99.9% SLA
- Custom integration
Enterprise
- All features
- Dedicated account manager
- Dedicated servers
- Team training
Ready to Get Started?
Get your API key and start building today