Tenvia Logo Tenvia
Developer Platform

Build with the Tenvia API

Powerful APIs, webhooks, and SDKs to build custom e-commerce solutions. Integrate, extend, and automate your store with ease.

99.9%

API Uptime

50+

API Endpoints

<200ms

Response Time

10K+

Developers

API Endpoints

RESTful API with predictable, resource-oriented URLs.

Products

GET /api/products List all products
POST /api/products Create a new product
GET /api/products/{id} Get a specific product
PUT /api/products/{id} Update a product
DELETE /api/products/{id} Delete a product

Orders

GET /api/orders List all orders
POST /api/orders Create a new order
GET /api/orders/{id} Get a specific order
PUT /api/orders/{id}/status Update order status

Customers

GET /api/customers List all customers
GET /api/customers/{id} Get a specific customer
POST /api/customers Create a new customer

Payments

POST /api/payments/mpesa Process M-Pesa payment
POST /api/payments/card Process card payment
GET /api/payments/{id} Get payment status

Code Examples

Get started quickly with our language-specific SDKs and code examples.

// Import the Tenvia SDK import { TenviaClient } from '@tenvia/sdk'; // Initialize the client const client = new TenviaClient({ apiKey: 'your-api-key', environment: 'production' }); // Create a new product const product = await client.products.create({ name: 'Wireless Headphones', price: 5999, category: 'Electronics', stock: 100 }); console.log('Product created:', product); // Get all products const products = await client.products.list({ limit: 50, category: 'Electronics' });

SDKs & Libraries

Official SDKs for popular programming languages.

JS

JavaScript

Node.js and browser SDK

View on GitHub →
🐍

Python

Python SDK for Django/Flask

View on GitHub →
PHP

PHP

PHP SDK for Laravel/Symfony

View on GitHub →

Webhooks

Real-time notifications for events in your store.

order.created

Triggered when a new order is placed

order.updated

Triggered when an order status changes

product.created

Triggered when a new product is added

product.updated

Triggered when a product is updated

Developer Resources

Everything you need to start building with Tenvia.

API Reference

Complete API documentation with examples

Read Docs →

GitHub

Open source SDKs and code samples

View Repos →

Community

Join our developer community forum

Join Community →

Ready to Build?

Get your API key and start building with Tenvia today.

AI
Ask AI Assistant