🔧 Developer Documentation

Fluxira API

Build powerful integrations with Fluxira ERP. Our RESTful API gives you full access to products, orders, inventory, manufacturing, and reports.

API Status: Operational
v1.0
REST + JSON
99.9% Uptime SLA

Quick Start

Get up and running with the Fluxira API in minutes.

1

Get Your API Key

Sign up for a Fluxira account and generate an API key from Settings → API Keys.

curl -H "Authorization: Bearer YOUR_API_KEY" https://api.fluxira.com/v1/health
2

Make Your First Request

Use the API key to authenticate requests. All endpoints require Bearer token authentication.

fetch('https://api.fluxira.com/v1/products', {
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  }
})
3

Explore the Endpoints

Browse our comprehensive API reference to find the endpoints you need.

// Response example
{
  "data": [...],
  "meta": { "total": 150, "page": 1 }
}

🔗 Base URL

https://api.fluxira.com/v1

All API requests must be made over HTTPS. Calls made over plain HTTP will be rejected.

🔐 Authentication

Authorization: Bearer YOUR_API_KEY

Include your API key in the Authorization header of every request. Generate keys from Settings → API Keys.

API Endpoints

Complete reference for all available API endpoints.

📦 Products

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

🛒 Orders

GET/v1/orders
POST/v1/orders
PUT/v1/orders/:id/status
GET/v1/orders/:id/invoice

🏭 Inventory

GET/v1/inventory
POST/v1/inventory/adjust
GET/v1/inventory/alerts
GET/v1/inventory/history

⚙️ Manufacturing

GET/v1/bom
POST/v1/work-orders
PUT/v1/work-orders/:id/complete
GET/v1/production/reports

💳 Purchasing

GET/v1/purchase-orders
POST/v1/purchase-orders
GET/v1/suppliers
POST/v1/suppliers

📊 Reports

GET/v1/reports/dashboard
GET/v1/reports/financial
GET/v1/reports/inventory
GET/v1/reports/production

Rate Limiting

Starter Plan

1,000

requests per hour

Professional Plan

10,000

requests per hour

Enterprise Plan

Unlimited

custom rate limits

Rate Limit Headers

X-RateLimit-Limit

Max requests per window

X-RateLimit-Remaining

Remaining requests

X-RateLimit-Reset

Window reset timestamp

Retry-After

Seconds until retry (on 429)

SDKs & Libraries

Official and community-maintained SDKs to accelerate your integration.

🟨

JavaScript / TypeScript

npm install @fluxira/sdk
🐍

Python

pip install fluxira-sdk
🐘

PHP

composer require fluxira/sdk
View Docs →Community
💎

Ruby

gem install fluxira-sdk
View Docs →Community
🔵

Go

go get github.com/fluxira/sdk-go
View Docs →Community

Java

com.fluxira:sdk:1.0.0
View Docs →Community

Webhooks

Subscribe to real-time events. Fluxira sends HTTP POST requests to your webhook URL when events occur.

Event
Description
order.created
Fired when a new order is placed
order.completed
Fired when an order is fulfilled
order.cancelled
Fired when an order is cancelled
inventory.low_stock
Fired when inventory falls below threshold
inventory.restocked
Fired when inventory is restocked
manufacturing.started
Fired when a work order begins
manufacturing.completed
Fired when a work order is completed
purchase.received
Fired when goods are received

Example Webhook Payload

{
  "event": "order.created",
  "timestamp": "2025-01-15T10:30:00Z",
  "data": {
    "id": "ord_abc123",
    "customer": "Acme Corp",
    "total": 125000,
    "currency": "INR",
    "items": [
      { "product_id": "prod_xyz", "quantity": 10, "price": 12500 }
    ]
  }
}

Error Codes

Code
Status
Description
200OKRequest succeeded
201CreatedResource created successfully
400Bad RequestInvalid request parameters
401UnauthorizedMissing or invalid API key
403ForbiddenInsufficient permissions
404Not FoundResource does not exist
409ConflictResource already exists
422UnprocessableValidation error
429Rate LimitedToo many requests
500Server ErrorInternal server error

Ready to Build?

Start integrating with Fluxira ERP today. Free API access included with all plans.