PrestaShop connection: how much the shop sold yesterday and how many valid orders came in
You can set up the PrestaShop connection yourself in the Chatmated app on the Connections page: for now it reads the total and number of yesterday's valid orders. Reading order statuses, products and stock is something we build to order. You create the key in the shop back office and give it only one permission: viewing orders.
You can set up this connection yourself in the Chatmated app. What the ready connection reads today is written at the top of the page. Below is everything the program's API allows: the rest we build on request.
Connect PrestaShopThe account takes a minute. Three days are free and no card is asked for.
What the connection reads
- Orders: amount paid including tax, creation time and a flag showing whether the order is valid
- The order status identifier, whose meaning each shop sets up for itself
- Products and stock, if the key is also given permission to view them
What it does when you confirm
- The ready-made connection shows yesterday's sales and the number of valid orders in the morning view
- Can be built so that orders waiting to be shipped, according to your shop's statuses, come into the morning view
What it does not do
- Does not change orders, products or customers
- Does not ask for your back office password
- Does not read anything other than orders, if the key has only the orders permission
What we need from you. A PrestaShop webservice key and the shop address. You create it in the back office: Advanced Parameters, Webservice, Add new webservice key, in the permissions table only View (GET) on the orders row.
What you see in the morning
PrestaShop is a common shop in Estonia among those who started with e-commerce ten years ago and have not changed platform. The back office home page does show sales, but in the morning it is more convenient when that number is in the same place as unpaid invoices and unanswered emails.
The ready-made connection brings into the morning view the total, including tax, of the valid orders of yesterday's calendar day, and their number. The order date is in the shop's own time and the app assumes that the shop runs on Estonian time.
How the key is created
The steps are from the PrestaShop developer guide.
- In the back office open Advanced Parameters and then Webservice.
- Set Enable PrestaShop Webservice to Yes and save.
- Click Add new webservice key.
- Click Generate so that the shop creates a key, and in the Key description field type, for example, Chatmated.
- Leave Status on.
- In the permissions table tick only the View (GET) column on the orders row.
- Save and copy the key.
Paste the key on Chatmated's Connections page under the PrestaShop row together with the shop address. If the shop is in a subfolder, for example minufirma.ee/pood, type the address together with the folder.
Why only one tick
The PrestaShop permissions table is large: five columns for every type of data, from viewing to deleting. The connection needs one cell. The less is ticked, the less can be done with this key if it should fall into the wrong hands. A key with permission to view orders cannot change an order, delete a customer or change a price.
You can disable the key on the same page at any time without deleting it. This is useful if you want to stop the connection temporarily from the shop's side. From the app's side, the Pause button in the management window does the same.
How the app talks to the shop
The shop sits on your own server. The address must be public and start with https, because the key travels in the request header. The app does not contact internal network addresses.
The PrestaShop guide does not show a date range filter for the order date clearly enough to rely on it. So the app asks for the hundred newest orders and picks the rows with yesterday's date from among them itself. This is slower, but it does not depend on a filter that we have not been able to try with a real shop.
If the shop does not respond, the app cannot always tell whether the fault is in the key or the shop was down for a moment. So the nightly check does not mark the PrestaShop connection as broken: a note stays in the morning view and it is tried again the next day. On the Connections page you can check the connection yourself straight away from the row's management window. You can ask the same in Chat: write to the agent asking whether the PrestaShop connection works, and it tries at once with the same key and tells you the result. It does not ask for the key in Chat; for entering a new key it gives a link to the right row.
What the PrestaShop connection does not do yet
PrestaShop has no general paid and unshipped status: every shop sets its own statuses. So the ready-made connection does not show the number of orders waiting to be shipped. We build that to order according to your shop's statuses, as well as product stock and refunds. The same row on other platforms is described on the pages WooCommerce connection and Magento connection, and the whole shop day on the page online shop.
The PrestaShop connection has not yet been tried with any real shop. It is built according to PrestaShop's public developer guide.
Questions
What does a valid order mean?
In PrestaShop every order has a field called valid. The shop sets it according to the order status: usually a paid order is valid and a cancelled one or one awaiting payment is not. The ready-made connection counts only valid orders as sales.
The shop does not respond although the key is correct. Why?
The PrestaShop guide warns that on some hosting the key header does not reach the shop until the relevant line has been added to the server configuration. If the webservice is on and the key is active but the connection does not work, show this paragraph to your hosting provider or developer.
Is the total accurate for a large shop too?
The ready-made connection reads the hundred newest orders. If the shop takes more than a hundred orders a day, part of yesterday is left out and the row shows a total that is too small. For a shop like that we build exact reading to order.
Sources
- PrestaShop Devdocs: Creating access to the webservice · read 17 November 2026
- PrestaShop Devdocs: Testing access to the webservice · read 17 November 2026
- PrestaShop Devdocs: Orders resource · read 17 November 2026