Kaupix and Allegro
The documentation of the Kaupix application at Allegro (Allegro REST API) – for Allegro's verification and for sellers.
1. What Kaupix is
Kaupix is an online shop and business system for small sellers in the European Union: the shop, products and stock, orders, shipping, accounting and the sales channels in one place. It is made and run by SIA “Online Tool Box”, Latvia (company details). Every Kaupix customer has its own Kaupix site and its own database.
The Allegro application of Kaupix connects a seller's own Allegro account to the seller's own Kaupix. It serves many sellers – the Kaupix customers – and each of them connects only their own account.
2. What it does
- Available now: connecting the seller's Allegro account (OAuth 2.0, authorization code) and showing in Kaupix which Allegro account is connected.
- In development: offering the seller's products on Allegro (by EAN, linked to Allegro's product catalogue, with the seller's own price rules); keeping the offers' prices and stock up to date and ending offers that are sold out; using the seller's delivery price lists and return, warranty and complaint policies in the offers; bringing Allegro orders into Kaupix and sending back the tracking number and the order's status after shipping.
3. How a seller connects
- In Kaupix: Sales Channels → Allegro → Connect Allegro (an administrator of the seller's Kaupix).
- Kaupix opens Allegro's login and consent page through its connect address at kaupix.com – the redirect address registered for the application.
- The seller logs in to Allegro and allows Kaupix.
- Allegro returns to Kaupix, which shows “Connected” with the seller's Allegro login.
Disconnecting: in Kaupix – Sales Channels → Allegro → Disconnect (Kaupix deletes the tokens at once); or in Allegro – Moje Allegro → Moje konto → Powiązane aplikacje → remove Kaupix.
4. Scopes
| Scope | Kaupix function | What it is used for |
|---|---|---|
| allegro:api:profile:read | Connection | Reads the account's login and company name to show which Allegro account is connected. |
| allegro:api:sale:offers:read | Offers | Reads the seller's offers and Allegro's product catalogue to link the seller's products to them. |
| allegro:api:sale:offers:write | Offers | Creates offers of the seller's products, updates their price and stock, ends offers that are sold out. |
| allegro:api:sale:settings:read | Offers | Reads the seller's delivery price lists and return, warranty and complaint policies that the seller chooses for the offers. |
| allegro:api:orders:read | Orders | Reads the orders of the seller's offers to bring them into Kaupix (products, amounts, the buyer's delivery details). |
| allegro:api:orders:write | Orders | Adds the tracking number and changes the order's status after the seller ships it. |
5. Security and separation
- The data and the authorizations of each seller's account are separated from each other: every seller has its own Kaupix site and database, and the tokens of an Allegro account are kept only in that seller's Kaupix, encrypted.
- The application's Client Secret is kept only on the Kaupix platform – never in a seller's Kaupix and never in the browser. Tokens are renewed through Kaupix's connect address with requests signed with the seller's own key; the browser only ever carries a one-time ticket.
- All connections use HTTPS. Kaupix asks Allegro only for what the functions above need.
6. Status
The connection works (a pilot with Kaupix customers). The offer, stock and order functions are in development and will use only the scopes listed above.
7. Access for Allegro's verification
A Kaupix demo shop: demo.kaupix.com. The login for Allegro's team is given in the application form.
8. Verification scenario
- Log in at demo.kaupix.com.
- Open Sales Channels → Allegro and choose the environment (Allegro's test environment or the real Allegro).
- Press Connect Allegro, log in with an Allegro account and allow Kaupix.
- Back in Kaupix: “Connected” with the Allegro login.
- Press Disconnect – the connection is removed; the application also disappears from Powiązane aplikacje.
9. What is needed
An Allegro account – a company account in the real Allegro, or a test account in Allegro's test environment. Nothing has to be installed.
10. Contact
SIA “Online Tool Box” (Kaupix) – info@kaupix.com.