Two routes into the Shoper API
Shoper distinguishes integrating one store from an app for many stores. Authorisation depends on it.
For one store a WebAPI user with limited permissions usually suffices. We build an app when the integration is meant for many stores.
| Criterion | WebAPI user | An app in the Shoper App Store |
|---|---|---|
| Authorisation | a WebAPI user's login and password exchanged for a token | OAuth: an authorisation code and a refresh token |
| Who installs | you, in your store panel | every store that adds the app |
| Fits | wholesalers, ERP and couriers for your store | a tool sold to other stores |
What we connect a Shoper store to
The most common connections. Each has its own page.
- Wholesalers
products, images, prices and stock from wholesaler files or APIs
- Subiekt GT and nexo
orders as documents, stock from the warehouse
- Allegro
shared stock and orders
- Apaczka and other couriers
shipments and statuses
- KSeF
invoices from orders via the ERP or a custom module
A wholesaler product in a Shoper store
The most common Shoper integration. The mapping decides whether customers see a clean listing or chaos.
wholesaler code product code and EANa shared key, no duplicates
net purchase price gross selling priceper your margin and VAT rate
wholesaler stock product stockwith a buffer at low stock
wholesaler category store categorya category map agreed once
images product imagesdownloaded and added via API, not hot-linked
discontinued product product unavailablehidden rather than deleted, keeping its URL
What flows between Shoper and the back office
Each direction has its own resource in the Shoper REST API.
Orders and their lines
a webhook or polling the Order and OrderProduct resources
Products and images
a new file or a wholesaler API change
the Product and ProductImage resources
Stock
an ERP document or an Allegro sale
the ProductStock resource
Parcels
a parcel dispatched with a courier
the Parcel resource with a tracking number
Order status
a change in the store or the ERP
05
What we watch out for with Shoper
What decides whether the integration survives a big catalogue.
- 01
Limits and access
A separate WebAPI user
The integration gets its own account with access to the resources it needs only, not an admin account.
- 02
A request counter from headers
A big import uses up the request limit within seconds. The queue reads the headers and slows down before Shoper refuses.
- 03
Hiding instead of deleting
A deleted product leaves a dead URL. A hidden one keeps its URL and Google position.
- 04
Redirects on changes
Shoper has a redirect resource in its API, so a product URL change can get a redirect straight away.
Example: a Shoper store with three wholesalers
The rollout, step by step.
- Store
- Shoper, a few thousand products
- Sources
- Three wholesalers with files and APIs
- Problem
- Hand-updated prices and selling items out of stock
- 1
A shared product key
We match wholesaler products by EAN and decide which wholesaler wins for the same item.
- 2
Prices with margin
Margin rules for each category turn purchase prices into selling prices.
- 3
Import within the limit
Changes go through a queue that reads Shoper's request counter and stays within the limit.
- 4
Orders to wholesalers
A store order goes to the wholesaler the item comes from, and the tracking number returns to the customer.
Prices and stock update by themselves, and the store stops selling items the wholesaler no longer has.
Common questions about Shoper
The main questions about a Shoper integration: app or custom code, imports, cost and code.
Could an app from the Shoper App Store do the job?
How long does it take?
How much does a Shoper integration with a wholesaler or ERP cost?
Will importing thousands of products slow the store down?
Can we move from Shoper to our own store later?
Will the Shoper integration code be mine?
How do you check a Shoper integration before launch?
What if the Shoper integration stops working?
What if Shoper changes its API?
Sources
Technical details come from the Shoper developer documentation and its official library.
- Shoper (DreamCommerce): shop-appstore-lib
- Shoper: developer portalofficial documentation
Describe your project.
A free quote comes back within an hour during working hours.