Skip to content

Connect OpenCart with ProductPolish

Connect your OpenCart shop with ProductPolish. Create an API user in the admin panel and use those credentials.

The native OpenCart API does not support product management (only checkout functions). To connect to ProductPolish you need a third-party extension such as the REST Admin API (e.g. from opencart-api.com), which provides full product CRUD endpoints.

Prerequisites

  • OpenCart 3.x or 4.x
  • Admin access to the OpenCart backend
  • A REST Admin API Extension must be installed
  • HTTPS is recommended

Required credentials

FieldExampleDescription
Shop URLhttps://my-shop.comBase URL of the shop. Without /admin.
API usernameproductpolishThe username of the API user.
API key(long generated key)The generated API key of the user.

Step-by-step guide

1

Open OpenCart Admin

Go to https://your-shop.com/admin and log in.

2

Open API management

Navigate to: SystemUsersAPI

In OpenCart 4.x the path is identical. In OpenCart 3.x it is under System → Users → API.
3

Create new API user

Click "Add API" (plus icon top right).

Fill in the form:

  • API username: productpolish (any name)
  • API key: Click "Generate key"
  • Status: Enabled
4

Add IP address (optional)

In the "IP addresses" tab you can restrict allowed IPs.

We recommend leaving this field empty so access is possible from all IPs.
5

Save and copy key

Click "Save" (disk icon top right).

Copy the API username and API key.

Unlike many other systems, you can view and change the OpenCart API key at any time in API management.
6

Enter in ProductPolish

Go in ProductPolish to DashboardIntegrationsNew connection.

  1. Select OpenCart as the platform
  2. Enter your shop URL – without /admin
  3. Enter the API username
  4. Enter the API key
  5. Click "Save connection"
Done! ProductPolish can now create and edit products in your OpenCart shop via the API.

Good to know

  • Extension required: The native OpenCart API is limited to checkout operations. A REST Admin API extension is required for product management.
  • API versions: OpenCart 3.x and 4.x have slightly different API endpoints. OpenCart 4.x also supports JWT authentication.
  • Session-based: The standard OpenCart API uses session-based authentication. ProductPolish automatically creates an API session with your credentials.
  • Product images: Images are uploaded to the OpenCart media folder and assigned to the product.
  • Languages: For multilingual shops, text is written in the default language.

Common issues

API menu item missing

Make sure you are logged in as admin with full rights. The menu item is under System → Users → API.

"Permission Denied" error

The API user has status "Disabled". Edit the user and set the status to "Enabled".

IP restriction blocks access

If you have configured IP addresses, make sure the ProductPolish server IP is listed, or remove the IP restriction.