Articles on: PrestaShop

How to sign up syncX: Stock Sync in Prestashop store ?

Connecting syncX: Stock Sync to your PrestaShop store allows you to automate inventory updates, import new supplier products, and synchronize catalog changes seamlessly. This integration connects directly via PrestaShop Web Services to ensure accurate, scheduled data synchronization across your catalog.



How to Set Up the PrestaShop Connection


Go to PrestaShop Admin → Advanced Parameters → Web Services


  1. Sign Up for Stock Sync: Visit the Stock Sync PrestaShop Registration Page to begin your setup.
  2. Enter Account Details: Fill in your store and account information in the required sign-up fields.
  3. Navigate to Webservice Settings: In your PrestaShop admin panel, go to Configuration → Advanced Parameters → Webservice.
  4. Enable PrestaShop Webservice: Toggle Enable PrestaShop's webservice to Yes and click Save.
  5. Generate New Webservice Key: Click Add new webservice key, then click Generate to create a secure API key.
  6. Assign Resource Permissions: Grant full access (View, Modify, Add, Delete) to combinations, images, products, and stock_availables.
  7. Save and Connect: Click Save in PrestaShop, copy the generated key, and paste it into the Stock Sync sign-up form to complete the connection.


You can test your web service connection immediately after saving to verify that your PrestaShop store accepts API requests without server restrictions.



PrestaShop Integration Smart Settings


1. Account Registration

Start the setup by registering your store details on the Stock Sync registration portal.


Stock Sync PrestaShop Sign Up


Ensure you enter the exact base URL of your PrestaShop store (including https://) during registration.


2. Enabling PrestaShop Web Services

PrestaShop requires web services to be explicitly enabled before API keys can process read or write requests.


Enable Webservice


Feature Setting

Required State

Description

Enable PrestaShop's webservice

Yes

Activates the core REST API engine in PrestaShop.

Enable CGI mode for PHP

As needed by host

Turn on only if your web server runs PHP in CGI mode and headers are missing.


3. Generating the Webservice Key

Create a dedicated API key to authorize Stock Sync to manage your catalog.


Generate Webservice Key


Key Parameter

Recommended Value

Purpose

Key

Click Generate

Generates a secure, 32-character authentication string.

Key description

Stock Sync Integration

Identifies the key's purpose in your PrestaShop admin for tracking.

Status

Enabled

Activates the key immediately upon saving.


4. Webservice Resource Permissions

To ensure Stock Sync can update stock, create items, and synchronize variant combinations, you must enable all permissions for four core resources:


Webservice Permissions


Resource

View (GET)

Modify (PUT)

Add (POST)

Delete (DELETE)

Functional Purpose

combinations

✔️

✔️

✔️

✔️

Manages multi-attribute variant data (e.g., sizes, colors, variant SKUs).

images

✔️

✔️

✔️

✔️

Uploads, updates, and links product gallery and thumbnail images.

products

✔️

✔️

✔️

✔️

Updates core product fields (title, description, price, status, SKU).

stock_availables

✔️

✔️

✔️

✔️

Controls inventory quantities and stock tracking across warehouse locations.


Missing permissions on any of these four resources will result in feed synchronization failures or skipped attributes.



Key Rules & Technical Details


  • Strict Permission Check: All four permission boxes (View, Modify, Add, Delete) must be checked for each of the four designated resources (combinations, images, products, stock_availables).
  • Server Authorization Headers: If your server uses Apache or Nginx with FastCGI/PHP-FPM, ensure HTTP Basic Authentication headers (Authorization: Basic) are passed through to PHP; otherwise, PrestaShop may return a 401 Unauthorized error.
  • SSL / HTTPS Requirement: Always connect using a secure https:// domain URL to protect API data transfers between PrestaShop and Stock Sync.


Critical warning: If you regenerate the webservice key in PrestaShop at any time, the previous key is permanently invalidated and must be updated in your Stock Sync settings immediately to prevent sync failures.



Troubleshooting Steps


  • Issue: Stock Sync displays "Authentication Failed" or "Invalid API Key" → Solution: Confirm that the API key status is set to Enabled in PrestaShop and verify that Enable PrestaShop's webservice is set to Yes.
  • Issue: Feed fails with "401 Unauthorized" or "403 Forbidden" → Solution: Verify that all checkboxes (View, Modify, Add, Delete) are checked for combinations, images, products, and stock_availables in Advanced Parameters → Webservice.
  • Issue: Store URL cannot be reached during sign up → Solution: Ensure your PrestaShop store is accessible publicly (disable maintenance mode or whitelist your IP) and verify your SSL certificate is valid.



Good Articles to Continue


Updated on: 03/11/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!