Build with Afristores APIs

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.

API Development

Developer Features

Everything you need to build powerful e-commerce integrations and applications

RESTful API

Clean, consistent REST API with predictable resource-oriented URLs, JSON responses, and standard HTTP response codes.

Webhooks

Receive real-time notifications about events in your store, from new orders to inventory updates.

OAuth 2.0

Secure authentication and authorization for third-party applications with industry-standard OAuth 2.0.

Rate Limiting

Predictable rate limits with clear headers to help you manage your API usage effectively.

SDK Support

Official SDKs for popular programming languages to speed up your development process.

Sandbox Environment

Test your integrations with our full-featured sandbox environment before going live.

API Documentation

Complete reference for the Afristores REST API

Getting Started

Welcome to the Afristores API! This guide will help you get started with our REST API to build powerful e-commerce integrations.

Base URL

All API requests should be made to the base URL:

https://api.afristores.co/v1

Authentication

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

Products API

Manage products in your store with our comprehensive Products API.

GET /products

Retrieve a list of products from your store.

Parameters

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

Example Request

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://api.afristores.co/v1/products?limit=10&page=1"

Example Response

{
  "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
  }
}

Join Our Developer Community

Connect with other developers building on Afristores, share knowledge, and get help with your integration challenges.

Get help from Afristores engineers and community experts
Share your projects and get feedback
Stay updated with API changes and new features
Participate in beta programs for new APIs
Developer Community

Ready to Start Building?

Create your developer account and get API keys to start integrating with Afristores today

Start building your store

Store URL

Sit tight, we're building your store.