New: Over 60 new featuresDiscover
New: Over 60 new featuresDiscover
For Developers

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

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

Get Started in Minutes

Ready-to-copy code examples

01// Install: npm install @halal-commerce/sdk
02import { HalalCommerce } from '@halal-commerce/sdk';
03
04const client = new HalalCommerce({
05 apiKey: 'your_api_key_here',
06 environment: 'production'
07});
08
09// Fetch all products
10const products = await client.products.list({
11 limit: 10,
12 category: 'electronics'
13});
14
15// Create a new order
16const 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});
26
27console.log('Order created:', order.id);

API Endpoints

Comprehensive coverage of all e-commerce operations

GET/products
POST/products
GET/products/:id
PUT/products/:id
DELETE/products/:id
SDKs

Official SDKs

Ready-made libraries to speed up development

v2.3.0

Node.js

JavaScript/TypeScript library for servers

15K+ downloads
v2.1.0

Python

Python library for quick integration

8K+ downloads
v1.8.0

PHP

Composer-compatible PHP library

5K+ downloads
Rate Limits & Pricing

Rate Limits & Pricing

Flexible plans for all project sizes

Free

0/month
Requests1,000
Rate Limit10 req/min
  • Basic API access
  • Community support
  • Full documentation
Popular

Developer

$49/month
Requests50,000
Rate Limit100 req/min
  • All endpoints
  • Webhooks
  • Email support
  • Sandbox environment

Business

$199/month
Requests500,000
Rate Limit1000 req/min
  • All Developer features
  • Priority support
  • 99.9% SLA
  • Custom integration

Enterprise

Custom
RequestsUnlimited
Rate LimitCustom
  • All features
  • Dedicated account manager
  • Dedicated servers
  • Team training

Ready to Get Started?

Get your API key and start building today

SSL Encrypted
99.9% Uptime
Global CDN