API Documentation
Build on top of M-Duka. Our REST and GraphQL APIs power the next generation of African commerce.
Getting Started
Authentication, base URLs, and quick start guide.
SDKs
Official JavaScript, PHP, and Python SDKs.
Webhooks
Subscribe to events like order.placed and payment.completed.
Authentication
API keys, OAuth 2.0, and request signing.
GraphQL
Flexible queries for complex data fetching.
REST API Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/v1/products | List all products with pagination and filters. |
| GET | /api/v1/products/:id | Get detailed information about a specific product. |
| POST | /api/v1/orders | Create a new order. |
| GET | /api/v1/orders/:id | Retrieve order details and status. |
| GET | /api/v1/vendors | List verified vendors. |
| POST | /api/v1/webhooks | Register a webhook for real-time events. |
Base URL: https://api.m-duka.com
Need help integrating? Contact our developer support team.