Prestashop¶
Bring the customers of your PrestaShop store into the Daktela CRM, so agents know who is calling or writing before they answer β without opening the PrestaShop back office.
What it does and when to use it¶
The Prestashop integration regularly imports the customers of your PrestaShop store into a Daktela CRM database:
- Customers become Daktela CRM contacts, including the phone numbers and addresses from their address book.
- Each contact can carry a link that opens the customer in your PrestaShop back office.
Data flows one way, from PrestaShop to Daktela. PrestaShop stays your master system; Daktela keeps an up-to-date copy that agents work with. Orders aren't imported.
Typical use cases
- Recognise shoppers. An incoming call, e-mail or chat is matched to the synced contact, so the agent sees the customer's name right away.
- Give agents context. Agents see the customer details you choose β for example the delivery address or newsletter consent β while they handle the interaction.
- Jump to the shop. One click on the contact's link opens the customer in the PrestaShop back office when the agent needs order details.
- Keep one source of truth. Customers keep registering and editing their details in your store; the contact centre gets the changes automatically within half an hour.
Tip
Daktela offers similar integrations for other e-commerce platforms, such as Shoptet, WooCommerce and Shoper. See CRM Synchronisation Integrations for the full list.
Prerequisites and setup¶
Prerequisites¶
- In PrestaShop: a back-office account that can manage the webservice (Advanced Parameters β Webservice), and the address of your store's back office.
- In Daktela: an administrator account with access to Settings β Integrations, and a CRM database to import the data into.
Step 1: Create a PrestaShop webservice key¶
- In the PrestaShop back office, go to Advanced Parameters β Webservice.
- Enable the PrestaShop webservice.
- Add a new webservice key and give it the GET (view) permission for the resources
customersandaddresses. - Save the key and copy it.
The PrestaShop documentation describes these steps in detail: Creating access to the webservice.
Step 2: Connect PrestaShop in Daktela¶
- In Daktela, go to Settings β Integrations and click Configure under Prestashop.
-
Fill in the connection form:
Field What to enter CRM Database The Daktela CRM database the customers are imported into. CRM Record type Leave empty β this integration doesn't import orders. Instance URI The address of your store, for example https://myshop.com.Key The webservice key from Step 1. Admin folder The name of your back-office folder β the part of the back-office address after the store address, for example admin123abcinhttps://myshop.com/admin123abc. It's used only to build the link to the customer. -
Click Authorize. Daktela checks the key by reading the customer schema from your store.
Step 3: Pair the fields¶
- A list of your Daktela CRM fields opens. Under Contact pairing, choose the PrestaShop customer field that fills each Daktela contact field. Besides the customer's own fields, you can choose Phone, Mobile phone, Address and URL (the link to the customer in the back office).
- Click Activate.
The first synchronisation runs within 30 minutes. To try the pairing straight away, open the configuration again and click Test Run (from version 30.0.0): it imports the first five customers right away and shows how many were processed.
Technical details¶
| Topic | Behaviour |
|---|---|
| Direction | One-way, PrestaShop β Daktela. Nothing is written back to PrestaShop. |
| Connection | Daktela passes the credentials to the Daktela integration service, which calls the PrestaShop webservice on its behalf. Your store must be reachable from the internet. |
| Authentication | HTTP Basic authentication with the webservice key as the user name and an empty password. |
| Endpoints | GET <Instance URI>/api/customers for customers and GET <Instance URI>/api/addresses for their addresses. The key is verified with GET <Instance URI>/api/customers?schema=synopsis when you click Authorize. |
| Schedule | Every 30 minutes. |
| Incremental sync | None β every run reads all customers. Changes in PrestaShop therefore always reach Daktela in the next run, but a large customer base means a longer run. |
| Batch size | Customers are read in pages of 100, ordered by customer ID. The addresses of each page are read in one extra request. Only the customer fields you have paired are requested. |
| Not supported | Orders, carts and other PrestaShop resources. Customers deleted in PrestaShop are not deleted in Daktela. |
| Multiple configurations | You can connect more than one store, or import into more than one CRM database. Each configuration has its own tile, titled with its Instance URI. |
How records are matched¶
- Every imported contact gets the Daktela unique name
<configuration ID>_<PrestaShop customer ID>. Daktela remembers this pairing, so later changes in PrestaShop update the same Daktela contact instead of creating a duplicate. - The customer ID and name are always paired automatically: the ID fills the unique name, and the customer's first and last name become the contact title. All other fields follow your pairing from Step 3.
- Phone numbers and addresses: a PrestaShop customer has no phone number of its own β phone numbers are stored on the customer's addresses. Phone and Mobile phone collect the numbers from all of the customer's addresses, and Address collects each address as city, street and postal code. In a single-value Daktela field, several values are joined with spaces.
- URL: the link has the form
<Instance URI>/<Admin folder>/index.php/sell/customers/<ID>/viewβ the customer page of the PrestaShop 1.7 and later back office. - If you delete an imported contact in Daktela, the next run does not recreate it; it reports it as an error instead.
Sync errors¶
If a run fails β the integration service can't reach your store, PrestaShop rejects the key, or some contacts can't be saved β the Prestashop tile in Settings β Integrations shows a warning. Open it to download an error file (CSV) listing each failed record with its title, unique name, entity type and the reason. When the integration service can't connect, administrators also receive an e-mail notification β once, and not again until a run connects successfully.

Errors returned by PrestaShop are passed on with their code and message. If the whole run fails, check first that the webservice is still enabled, that the key is active, and that it still has the GET permission for customers and addresses.