Powerful APIs, SDKs, and developer tools to extend and integrate with the Afristores platform for African e-commerce.
Start building with our REST API, webhooks, and comprehensive SDKs.
Everything you need to build powerful e-commerce integrations and applications
Clean, consistent REST API with predictable resource-oriented URLs, JSON responses, and standard HTTP response codes.
Receive real-time notifications about events in your store, from new orders to inventory updates.
Secure authentication and authorization for third-party applications with industry-standard OAuth 2.0.
Predictable rate limits with clear headers to help you manage your API usage effectively.
Official SDKs for popular programming languages to speed up your development process.
Test your integrations with our full-featured sandbox environment before going live.
Complete reference for the Afristores REST API
Welcome to the Afristores API! This guide will help you get started with our REST API to build powerful e-commerce integrations.
All API requests should be made to the base URL:
https://api.afristores.co/v1
Authenticate your API requests by including your API key in the request header:
curl -H "Authorization: Bearer YOUR_API_KEY" \ https://api.afristores.co/v1/products
Manage products in your store with our comprehensive Products API.
Retrieve a list of products from your store.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Number of products to return (default: 50, max: 250) |
| page | integer | Page number for pagination (default: 1) |
| category | string | Filter by category ID |
curl -H "Authorization: Bearer YOUR_API_KEY" \ "https://api.afristores.co/v1/products?limit=10&page=1"
{
"data": [
{
"id": "prod_123",
"name": "African Print Dress",
"description": "Beautiful handmade dress with traditional African patterns.",
"price": 4500,
"currency": "NGN",
"in_stock": true,
"images": [...]
}
],
"meta": {
"current_page": 1,
"total_pages": 5,
"total_products": 48
}
}
Connect with other developers building on Afristores, share knowledge, and get help with your integration challenges.
Create your developer account and get API keys to start integrating with Afristores today
Start building your store