Linkit
Plugins

OpenCart 4 Plugin

Install and configure the Linkit middleware plugin for OpenCart 4.

OpenCart 4 Bridge Plugin

Provides inventory, orders, and offers sync endpoints for OpenCart 4.x stores.

Download

Download linkit.ocmod.zip

Requirements

  • OpenCart 4.0+
  • PHP 8.0+

Installation

  1. Go to Admin → Extensions → Installer
  2. Upload linkit.ocmod.zip without renaming it. The filename determines the extension directory.
  3. Go to Extensions → Extensions → Modules
  4. Find Linkit Middleware and click Install, then Edit
  5. Set status to Enabled and configure your API key

Configuration

SettingDescription
StatusEnable/Disable the module
Linkit URLYour Linkit instance URL
Plugin KeyAPI key for authentication

Endpoints

EndpointMethodDescription
/index.php?route=extension/linkit/module/linkit_api.healthGETHealth check
/index.php?route=extension/linkit/module/linkit_api.inventoryPOSTUpdate price, quantity, and availability
/index.php?route=extension/linkit/module/linkit_api.ordersGETRecent orders
/index.php?route=extension/linkit/module/linkit_api.offersPOSTUpsert 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 4, 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.