OpenCart 3 Plugin
Install and configure the Linkit middleware plugin for OpenCart 3.
OpenCart 3 Bridge Plugin
Provides inventory, orders, and offers sync endpoints for OpenCart 3.x stores.
Download
Download opencart3-linkit-plugin.ocmod.zip
Requirements
- OpenCart 3.0.2+
- PHP 7.2+
Installation
- Go to Admin → Extensions → Installer
- Upload the
.ocmod.zipfile - Go to Extensions → Extensions → Modules
- Find Linkit Middleware and click Install, then Edit
- Set status to Enabled and configure your API key
Configuration
| Setting | Description |
|---|---|
| Status | Enable/Disable the module |
| Linkit URL | Your Linkit instance URL |
| Plugin Key | API key for authentication |
Endpoints
Once installed, the plugin exposes these catalog-side API endpoints:
| Endpoint | Method | Description |
|---|---|---|
/index.php?route=extension/module/linkit_api/health | GET | Health check |
/index.php?route=extension/module/linkit_api/inventory | POST | Update price, quantity, and availability |
/index.php?route=extension/module/linkit_api/orders | GET | Recent orders |
/index.php?route=extension/module/linkit_api/offers | POST | Upsert offers |
The health endpoint is public. Other endpoints require the X-Linkit-Plugin-Key header.
In Linkit, install OpenCart Inventory, OpenCart Orders, or OpenCart Offers, enter your store URL, select OpenCart 3, and save the same plugin key as the API key. Verify the connection before enabling synchronization.
Orders use a modification-time cursor and order ID to avoid skipping orders changed in the same second. Offers create or update a coupon restricted to its selected product; withdrawing an offer disables its coupon.