The PrestaShop connector links your PrestaShop store to the app. The app pulls orders and your shops from PrestaShop, and sends fulfillments with tracking, products, and inventory back to PrestaShop.
With this connector, you can:
- Pull new orders from PrestaShop.
- Push fulfillments with tracking numbers to PrestaShop. The app marks the order as Shipped.
- Pull products, including combinations, from PrestaShop, or push products from the app to PrestaShop.
- Push inventory to each PrestaShop shop.
- Pull your PrestaShop shops into the app as locations. In a multistore setup, each shop becomes a location.
Setup
Before you begin, make sure you have:
- Administrator access to your PrestaShop back office, including Advanced Parameters > Webservice.
- Your store’s base URL, with https:// and any subfolder PrestaShop is installed in, for example https://example.com or https://example.com/shop. Don’t use your back-office URL: PrestaShop gives the admin folder a random name.
- URL rewriting turned on for your store, so PrestaShop’s /api address works.
Get your credentials from PrestaShop
- In the PrestaShop back office, go to Advanced Parameters > Webservice.
- Set Enable PrestaShop’s webservice to Yes, and click Save. The webservice is off by default.
- Click Add new webservice key. Next to Key, click Generate.
- In Key description, enter a name such as Pipe17, and make sure Status is Yes.
- In the Permissions table, give the key access to the resources listed below. A new key has no permissions.
- If you use multistore, under Shop association, select every shop the app should work with.
- Click Save, and copy the key.
Permissions the key needs:
- View (GET): shops, orders, order_payments, carriers, customers, addresses, countries, states, currencies.
- View (GET), Modify (PUT), and Add (POST): order_carriers and order_histories (to send fulfillments), products, combinations, product_options, product_option_values, and images (to push products), and stock_availables (to push inventory).
Note: The app doesn’t check the URL and key when you click Connect. A wrong value shows up later as sync errors, so use the location check below to confirm the connection works.
To learn more, see PrestaShop’s Webservice and Creating access to the Webservice.
Connect PrestaShop in the app
- Navigate to Integrations and click Add integration.
- Search for PrestaShop and select it. The Connect PrestaShop pop-up opens.
- In PrestaShop URL, enter your store’s base URL, for example https://example.com.
- In PrestaShop API key, paste the key.
- Click Connect.
Note: If you don’t have your credentials yet, click Add without credentials. The integration is added but doesn’t sync until you enter them on its Connection Details tab and click Save.
Confirm the connection
- Navigate to Integrations. PrestaShop shows Connected. If it shows Error or Not Configured, open it, check the connection on the Connection Details tab, and click Save.
- Make sure the switch on the integration’s row is on.
- On the Settings tab, turn on Pull locations from PrestaShop and click Save. Within about 5 minutes, each PrestaShop shop appears in Inventory > Locations. This confirms that the URL and key work.
- Test with one order. Set Exclude orders created before this date to the current date and time, place a test order in PrestaShop, and add its order reference to Process only orders with specific order IDs. Use the letter code shown on the order, such as XKBKNABJK, not the numeric ID. Turn on Pull orders from PrestaShop and click Save. The order appears in Orders within about 5 minutes.
- When the test order looks right, clear Process only orders with specific order IDs and click Save.
Note: The app doesn’t import orders that are already Shipped, Delivered, or Canceled in PrestaShop.
Settings
These settings are on the integration’s Settings tab.
| Setting | Options/Default |
|---|---|
| Pull locations from PrestaShop | On/Off. Default: Off |
| Pull orders from PrestaShop | On/Off. Default: Off |
| Exclude orders created before this date | Optional |
| Process only orders with specific order IDs | Optional |
| Cancel Pipe17 order if canceled in PrestaShop | On/Off. Default: Off |
| Push fulfillments information to PrestaShop | On/Off. Default: Off |
| Process product catalog updates | Disabled, Pull products from PrestaShop to Pipe17, Push products from Pipe17 to PrestaShop. Default: Disabled |
| Only apply product updates for specific SKUs | Optional |
| Force product catalog resync | On/Off. Default: Off |
| Push inventory information to PrestaShop | On/Off. Default: Off |
| Only apply inventory updates for specific SKUs | Optional |
| Force inventory resync | On/Off. Default: Off |
Troubleshooting
- Syncs fail with authorization (401) errors
Check that Enable PrestaShop’s webservice is Yes, the key’s Status is Yes, and the key has the permissions listed above. On some Apache hosts, PHP runs in CGI mode and drops the key. Turn on Enable CGI mode for PHP on the Webservice page, or ask your host to apply PrestaShop’s .htaccess fix. - Syncs fail with “not found” (404) errors
PrestaShop’s /api address needs URL rewriting. Make sure URL rewriting is turned on for your store, and that PrestaShop URL is the store’s base URL, including any subfolder. - A shop in a multistore setup is missing
Edit the webservice key in PrestaShop and select the shop under Shop association. PrestaShop doesn’t add new shops to existing keys. - The test order doesn’t appear
Check that Pull orders from PrestaShop is on, the order was created after Exclude orders created before this date, the filter has the order reference (not the numeric ID), and the order isn’t Shipped, Delivered, or Canceled. While the filter is set, the app checks only orders updated in the last 7 days.
Need Help?
If you need additional assistance:
- Use Ask Pippen, our AI agent, located at the top of the platform page.
- Submit a support request with as much relevant detail as possible. Learn how to submit a request.
We’re here to help you succeed with your operations.
Comments
0 comments