Magento connection: how much the shop sold yesterday and how many orders came in
You can set up the Magento connection yourself in the Chatmated app on the Connections page: for now it reads the total and number of yesterday's orders. Reading unshipped orders, products and stock we build to order. You give the integration only the permission to view orders, but the shop must have a setting turned on that is off by default.
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 MagentoThe account takes a minute. Three days are free and no card is asked for.
What the connection reads
- Orders: grand total, currency, status and creation time
- The total number of orders in the chosen range
- Products and stock, if the integration is also given permission for them
What it does when you confirm
- The ready-made connection shows yesterday's sales and the number of orders in the morning view
- Can be built so that orders awaiting processing come into the morning view as a list
What it does not do
- Does not change orders, products or customers
- Does not ask for your admin password
- Does not see more than the resource ticked for the integration allows
What we need from you. A Magento integration Access Token and the shop address. You create the integration in the admin: System, Extensions, Integrations, with the resource Sales, Operations, Orders, Actions, View. In addition, the setting that allows the token to be used as a standalone key must be on.
What you see in the morning
A Magento shop is mostly run by someone else: an agency or your own developer. The owner sees the sales when logging in to the admin or waiting for the weekly report. The morning row gives the same number without the admin.
The ready-made connection brings into the morning view the grand total of orders for yesterday's calendar day in euros and the number of orders. Cancelled orders are left out. Orders made in another currency are included in the count but not added to the total, because adding up different currencies would give a wrong number.
How the integration is created
The steps are from the Adobe Commerce Admin guide. If a developer runs the shop, this is five minutes of work for them.
- In the admin open System, then Extensions and Integrations.
- Add a new integration and name it, for example, Chatmated. Magento asks for your admin password to confirm.
- Open the API tab and set Resource Access to Custom.
- In the tree tick only Sales, Operations, Orders, Actions, View and save.
- Click Activate and then Allow.
- Copy the Access Token.
The connection uses only this one token. The other three values that Magento shows on the same page are not needed.
The setting that has to be on
Magento accepts an integration token as a simple key only if that is separately allowed in the shop. The path in the admin is Stores, Configuration, Services, OAuth, Consumer Settings, and the name of the setting is Allow OAuth Access Tokens to be used as standalone Bearer tokens.
Adobe's documentation says two things about it: the setting is turned off by default and turning it on is not recommended. The reason is that without the setting every request must additionally be signed with four values, which is more secure. The ready-made connection does not use that more complex route for now. If you do not want to turn the setting on, write to us: a connection with signed requests we build to order.
How the app talks to the shop
The shop sits on your own server, so the app asks for the shop address. The address must be public and start with https. The app does not contact internal network addresses and does not follow a redirect to a foreign place, so the token cannot accidentally go to the wrong server.
Yesterday's orders are requested a hundred at a time, up to five hundred orders. Magento keeps the order creation time in universal time and the app gives the day's boundaries in the same time, so Estonian midnight is in the right place. The result is kept for ten minutes.
When the shop does not respond or refuses, the app cannot always tell which it was. That is why the nightly check does not lightly mark the Magento connection as broken: a note stays in the morning view that the number could not be read, and it is tried again the next day. On the Connections page you can, from the row's management window, check the connection yourself straight away, replace the token or pause the connection temporarily, for example while the shop is being upgraded. The token of a paused connection is kept, and on resuming the app checks it again.
What the Magento connection does not do yet
A list of orders awaiting processing, product stock, refunds and reading several store views separately are not in the self-service part. Those we build to order. The same row on other platforms is described on the pages WooCommerce connection and PrestaShop connection, and the shop's whole day on the page online shop.
The Magento connection has not yet been tried with any real shop. It is built according to Adobe's public documentation and the Magento source code.
Questions
Why does the shop not accept the token although the integration is active?
The most common cause is that the setting Allow OAuth Access Tokens to be used as standalone Bearer tokens is turned off. According to Adobe's documentation it is off by default, and without it the integration token cannot be used as a simple key.
Is it safe to turn this setting on?
Adobe itself calls this setting not recommended, because then a single token is enough without an additional signature. The risk is reduced by the integration having only the permission to view orders. The decision is for you and your shop's developer to make.
Does the token expire?
According to Adobe's documentation an integration token is valid until it is revoked manually. The connection stops working if you delete the integration or turn off the setting mentioned above.
Sources
- Adobe Commerce: Token-based authentication · read 17 November 2026
- Adobe Commerce Admin: Integrations · read 17 November 2026
- Adobe Commerce: Search using REST endpoints · read 17 November 2026