API Documentation
Integrate PrimeTijara directly into your ERP, project management tools, or custom applications. Our REST API gives you programmatic access to the full procurement workflow.
Overview
Catalog API
Browse and search 2,500+ building materials with real-time pricing.
Proforma API
Create, retrieve, and manage proforma invoices programmatically.
Orders API
Place orders, process payments, and track fulfillment status.
Webhooks
Receive real-time notifications for order and payment events.
Authentication
All authenticated endpoints require a Bearer token in the Authorization header. API keys are available on Enterprise plans.
# Example request curl -H "Authorization: Bearer YOUR_API_KEY" \ https://api.primebuild.com.gh/v1/catalog
Endpoints Reference
/api/v1/catalogList all available materials with pricing and stock levels.
/api/v1/catalog/:slugGet detailed information for a specific product.
/api/v1/categoriesList all product categories.
/api/v1/proformasCreate a new proforma invoice with line items and project details.
/api/v1/proformas/:idRetrieve proforma details, status, and items.
/api/v1/proformas/:id/approveApprove a proforma via stakeholder token.
/api/v1/ordersList all orders for the authenticated user.
/api/v1/orders/:idGet order details including delivery status.
/api/v1/orders/:id/fulfillUpdate order fulfillment stage (Supplier endpoint).
/api/v1/webhooks/paystackPaystack payment webhook receiver.
indicates authentication required.
Rate Limits
Response Format
{
"ok": true,
"data": { ... },
"meta": {
"page": 1,
"total": 128,
"per_page": 20
}
}Ready to integrate?
API access is available on Enterprise plans. Get in touch and we'll set you up with credentials.
Contact Sales