Developer Resources
API Documentation
Integrate CPGFactory.ai directly into your supply chain. Submit orders, track production, pull analytics, and manage inventory programmatically.
Base URL
https://api.cpgfactory.ai/v1
Authentication
Authorization: Bearer <your_api_key>
SDKs & Libraries
Node.js
npm install @cpgfactory/sdk
Python
pip install cpgfactory
cURL
Available via REST API
Endpoints
Submit a new manufacturing order with product specs, quantity, and priority level.
Auth: Bearer token
Retrieve the current status, batch progress, and QA results for a specific order.
Auth: Bearer token
Real-time production tracking with stage-by-stage updates from formulation to fulfillment.
Auth: Bearer token
Submit ingredient lists and target specs for AI-powered formulation optimization.
Auth: Bearer token
Pull the full formulation report including stability analysis, cost breakdown, and compliance flags.
Auth: Bearer token
Query current raw material and finished goods inventory across all factory verticals.
Auth: Bearer token
Reorder a previously manufactured batch with identical or modified specs.
Auth: Bearer token
Retrieve production throughput metrics, yield rates, and efficiency reports.
Auth: Bearer token
Register webhook endpoints to receive real-time notifications on order status changes.
Auth: Bearer token
Rate Limits & Quotas
Starter
100 req/min
500/month
Growth
1,000 req/min
5,000/month
Enterprise
Unlimited
Unlimited