local_shipping

১২০০ টাকার উপরে অর্ডার করলেই ফ্রী ডেলিভারী

Khan Signature
favorite
Menu
search
card_giftcard Gift Cards local_offer Special Offers
code v2.0.0 — REST API

Developer API

Build on the Flint Commerce Engine. Integrate commerce capabilities directly into your applications with our powerful, RESTful API.

01 Overview

The Flint Shop Engine REST API provides programmatic access to the core commerce platform. It allows you to manage products, orders, categories, customers, inventory, and more through standard HTTP requests.

Designed for performance and simplicity, the API returns JSON responses and supports full CRUD operations on all major resources. Whether you are building a custom storefront, a mobile app, a marketplace integration, or automating back-office workflows, the Flint API gives you the building blocks you need.

rocket_launch

100ms Avg Response

Globally distributed edge caching

verified

99.99% Uptime SLA

Enterprise-grade reliability

lock

AES-256 Encrypted

All data in transit and at rest

02 Authentication

All API requests require authentication via an API key passed in the request header. You can generate API keys from your admin dashboard under Settings → Developer API Keys.

Authentication Header

info API Key Scopes

Each API key is scoped to specific permissions (read, write, admin). You can create multiple keys with different scopes for different applications. Store your keys securely — they are shown only once at creation time.

03 Base URL

All API endpoints are relative to the following base URL. All requests must use HTTPS.

Responses are formatted in JSON. All timestamps are in ISO 8601 format and UTC timezone. Paginated endpoints return the following structure:

04 Products API

Manage your product catalog programmatically. The Products API supports full CRUD operations, inventory tracking, variant management, and media uploads.

GET /api/v1/products

List all products with optional filtering, sorting, and pagination.

Example Response
POST /api/v1/products

Create a new product. Returns the created product object.

GET /api/v1/products/{id}

Retrieve a single product by its ID, including variants and media.

PUT /api/v1/products/{id}

Update an existing product. Only include fields that need to change.

DELETE /api/v1/products/{id}

Delete a product permanently. Returns a confirmation message.

05 Orders API

Manage orders, process refunds, and track fulfillment status in real time.

GET /api/v1/orders

List all orders. Supports filtering by status, date range, and customer.

Example Response
GET /api/v1/orders/{id}

Retrieve detailed order information including line items, payments, and shipping details.

06 Categories API

Organize your product catalog with a flexible, hierarchical category system.

GET /api/v1/categories

Retrieve the full category tree with nested children.

Example Response

07 Rate Limits

Rate limiting is applied per API key to ensure fair usage and platform stability. Limits are enforced on a rolling 60-second window.

Free Plan

100

requests per minute

Pro Plan

1,000

requests per minute

speed Rate Limit Headers

Every API response includes the following headers: X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset. When exceeded, the API returns a 429 Too Many Requests status.

08 SDKs & Libraries

Official client libraries make integrating with the Flint API faster and more reliable.

javascript

JavaScript / Node.js

View on npm →
python

Python

View on PyPI →
php

PHP

View on Packagist →
terminal

cURL / CLI

View Examples →

09 Getting Started

Follow these steps to make your first API call in under 5 minutes:

  1. Generate an API Key

    Navigate to Settings → Developer → API Keys in your admin dashboard and click Create New Key. Give it a name and select the appropriate permissions.

  2. Make Your First Request

    Use any HTTP client to send a request:

  3. Explore the Response

    Your first response will return a paginated list of products. Use the meta object to navigate through pages.

  4. Check Your Rate Limit

    Inspect the X-RateLimit-Remaining response header to track your usage.

Start Building Today

Get your free API key and start integrating the Flint Commerce Engine into your applications. No credit card required.