IntegrationsPrestaShop

PrestaShop permissions and security

The read-only permissions Octocom needs in PrestaShop, and how to tighten or revoke a key.

The standard Octocom PrestaShop connection is read-only. It reads your catalog and looks up orders. It does not create, change or delete customers, orders or addresses. This page lists the permissions to grant, how to tighten keys created by earlier modules and how to revoke access.

The storefront script and the store-data connection are managed separately, and neither needs an Octocom PrestaShop module. To connect a store, see Connect PrestaShop.

Which resources and methods are required?

For the standard connection, grant GET only to the following resources under Advanced Parameters -> Webservice:

ResourceUsed for
productsProduct names, descriptions, prices and catalog links
stock_availablesProduct stock quantities
categoriesCategory names for products
countriesCountry lookup for tax calculation
tax_rulesFinding applicable product taxes
taxesReading tax rates
specific_pricesReading product discounts
ordersOrder lookup by ID, reference or customer
order_statesOrder status labels
customersFinding a customer ID from an email address for order lookup

Leave POST, PUT, PATCH and DELETE disabled on every resource. No access to addresses or other resources is required by the standard integration. Octocom checks GET access to all ten resources when you test, connect or update the connection.

These permissions cover the built-in integration. If your workspace has custom actions that call PrestaShop directly, review those actions separately before reducing their key's permissions.

For example, a custom tracking action may also need GET access to carriers to read the carrier name and tracking URL template. Without it, order lookup can still succeed while carrier details remain unavailable. This optional permission is not checked by the standard connection test. See Enable and verify order tracking for workflow setup and testing.

What stops working if write access is removed?

Removing write permissions on customers, orders and addresses does not affect the standard product sync or order lookup. Keep the GET permissions above. The standard connector reads only; address changes, order changes, cancellations, refunds and customer edits are built as custom actions with a key you grant the matching write access.

Can we use read-only access for product advice and pre-sale support?

Yes. Product advice and pre-sale support do not need write access. The catalog sync uses the first seven resources in the table; order lookup uses the last three.

The connection form requires GET access to all ten resources, even if your AI agent only gives product advice. A key without access to orders, order_states or customers fails the connection check. If your policy forbids access to those resources, talk to an Octocom solution engineer about a catalog-only setup before connecting.

The web chat script itself does not require a PrestaShop API key. Installing it alone does not connect your catalog or orders.

Keys created by an earlier Octocom module

Version 1.0.0 of an earlier Octocom PrestaShop module enabled the Webservice API and created a key with read and write permissions when it was installed. The standard integration needs only the GET permissions above, and the key stays in PrestaShop after the module is uninstalled, so restrict or replace it as described below.

Version 1.1.0 only added a web chat script without an organization ID. It did not create keys, send credentials to Octocom or manage Webservice permissions. Neither version is distributed any more. See Replace an earlier Octocom module to install your organization's script and remove the module.

Restrict or replace a key created by version 1.0.0

  1. Check the installed Octocom module version in Modules -> Module Manager. Do not reinstall or reset 1.0.0. Replace the module with your organization's storefront script using the installation guide above.
  2. Under Advanced Parameters -> Webservice, identify the key used by Octocom. For the standard integration, remove all write permissions and all resource access beyond the ten GET permissions listed above, or create a dedicated replacement key with those permissions. If the key also serves custom actions, preserve their reviewed permissions, such as GET access to carriers for tracking links.
  3. In Octocom, open Settings -> Workspace -> Integrations -> PrestaShop, enter the store URL and key, then select Test and update (or Test and connect for a new connection). Saving through the connection form stores the API key encrypted.
  4. Verify product sync and, if used, order lookup. If you replaced the key, disable or delete the old key in PrestaShop once the replacement works. Check for unused keys left by earlier installations too.

Use separate keys for pre-production and production, so each can be restricted and revoked independently. Do not share API keys in email, screenshots or support threads.

Can an update or reconnection restore permissions or recreate a key?

Version 1.1.0 of the module contains no key-creation or permission-management code. The manual storefront script does not manage Webservice keys either. Reconnecting in Octocom tests and saves the key you provide; it does not change that key's permissions in PrestaShop.

The 1.0.0 installation routine creates a new broad-permission key whenever that routine runs. Reinstalling or resetting that version can therefore create another key. Do not assume a module update cleans up existing keys: review and restrict or revoke them explicitly in PrestaShop.

Why does uninstalling not revoke the API key?

You create and manage the Webservice key separately from the storefront script. Uninstalling an earlier module stops it from adding its script; it does not disconnect Octocom or revoke Webservice keys, including the key the 1.0.0 module created.

To remove access completely:

  1. Disable or delete the relevant key under PrestaShop -> Advanced Parameters -> Webservice. This revokes its API access.
  2. Disconnect PrestaShop in Octocom to remove the saved connection credentials.
  3. Uninstall any Octocom module and remove any manually added Octocom script if web chat should stop too.

Disconnecting or revoking a key does not itself delete previously stored Octocom data. For data deletion, follow Data handling and GDPR.

How is personal data protected?

Read-only permissions prevent store changes; they still allow the permitted data to be read. In this integration, email-based order lookup queries a customer's ID, and order lookup retrieves order records including purchased items, totals, dates and shipping references. The connector does not call the addresses resource.

  • Use an HTTPS storefront URL to protect API requests and credentials in transit.
  • HTTPS and the API key are the recommended access control. IP allowlisting is optional and most stores don't need it. If your site requires it, see Connect PrestaShop for the address to allow.
  • API keys saved through the connection form are encrypted with AES-256-GCM and are not displayed again in full.
  • Configure your AI agent's workflows to verify the customer before disclosing private order information. An email address or order number supplied in chat is not, by itself, proof of identity. See Customer authentication and access control.
  • Octocom's Security overview and Security controls describe platform encryption and access controls. Data handling and GDPR covers controller and processor roles, EU processing, retention, deletion and how to obtain a DPA; the Subprocessors page lists service providers.

On this page