- 01
IdoSell recommends a separate API key for every application, with permissions only for the resources it needs.
- 02
A key in the X-API-KEY header or an OAuth 2.0 token passed as Bearer.
- 01
It makes integration easier: a flow tested on a Demo panel works in your store after changing the address and key. IdoSell ships fixes almost daily, and within two weeks at most they reach every store.
- 02
There is another side too. A major API version stays available for one to two years, so the integration needs a review at least once a year. Not everything in the panel has a gateway in the Admin API, so we check the scope before quoting.
Which IdoSell API for what
IdoSell splits its APIs by purpose. Picking the API is the first decision in a project.
| API | What IdoSell says it is for | When we use it |
|---|---|---|
| Admin | running the store and automating processes | ERP, warehouse, invoices, stock and prices |
| Marketplace | connecting the store to a sales platform | a sales channel IdoSell does not support |
| Fulfillment | shipping and an external warehouse | a logistics operator or your own warehouse |
| Customer | wholesalers and dropshipping | products and orders with suppliers |
| Storefront | a custom storefront on IdoSell data | a front a template cannot deliver |
IdoSell also has a Printer API for printing.
What flows between IdoSell and your systems
Events on the IdoSell side are webhooks from the list of supported events.
New and paid orders
orderCreated and orderPaid webhooks
Stock and prices
an ERP document or a wholesaler file
Tracking number
the orderPackageCreated webhook
Sales document
the orderSaleDocumentCreated webhook or an ERP invoice
Depends on where you issue invoices: in IdoSell or in an external program.
Returns and complaints
returnCreated and rmaCreated webhooks
How we match IdoSell products to the ERP and wholesaler
Product gateways accept several identifier types. The key you pick decides whether sync hits the right item.
product and size id the product map on our sideset by IdoSell, used for writes
codeExtern, the external system code the item code in the ERPthe key when records start in the ERP
codeProducer, the producer code the EAN in the wholesaler fileIdoSell supports GTIN-13 (EAN-13), among others
size a variant or a separate recordexternal and producer codes also exist per size
stock_id, the warehouse the ERP warehousestock set separately for each warehouse
Field names per the products/products and products/stocks gateways.
When your server misses a webhook
IdoSell retries on no response, a network error or a code outside 2xx. The values are approximate.
- 01about 10 min after the error
- 02about every 10 min for an hour
- 03about every hour
- 04for the next 23 hours
No more tries 24 h after the first error
- 48 hours
- When all following events fail, after 48 hours IdoSell sends a notice about a broken webhook.
- 7 days
- After a week of failures the webhook is switched off. It can be turned back on in the panel, but events from the gap will not come.
- A reconciliation job
- So the integration compares orders and stock via the API daily rather than relying on webhooks alone.
06
What we watch out for with IdoSell
Details from the documentation that are easy to miss.
- 01
Webhooks
A webhook counts as an API call
Every webhook runs an API gateway and counts toward limits and billing like a normal request. We pick only the events needed.
- 02
Key permissions
After narrowing a key's permissions, events from revoked areas stop arriving with no error. Monitoring catches that.
- 03
Token and headers
A webhook can carry a Bearer token and custom headers. The receiver rejects calls without them.
- 04
History for 48 hours
Delivery history stays in the panel for at least 48 hours. We keep our own event log longer.
- 05
Request and response logging
IdoSell records API traffic for 10 minutes to 24 hours. We use short recordings for diagnosis, as longer ones load the store.
From a Demo panel to your store
The order of work on an IdoSell integration. Step by step.
- Stage 01
Choosing the API
We pick the API by use: Admin for ERP, stock and invoices, and the others when the process needs them.
Outputthe chosen API
- Stage 02
Scope in the API
We check that every step of your process has a gateway in the Admin API, and pick the webhooks.
Outputa list of gateways and events
- Stage 03
API key
We create a separate API key for the integration, with permissions only for the resources it needs.
Outputa key with narrow permissions
- Stage 04
Demo panel
We build and test on a free Demo panel, without touching your store.
Outputan integration working on Demo
- Stage 05
Product map
We match IdoSell products and sizes to the ERP or wholesaler records by code.
Outputa map with a list of gaps
- Stage 06
Webhook receiver
The receiver accepts only calls with the token and headers, and writes every event to its own log.
Outputan event log
- Stage 07
Reconciliation job
Every day the integration compares orders and stock through the API, instead of relying only on webhooks.
Outputa daily reconciliation
- Stage 08
Production
We switch the panel address and key. We follow the first days in the log and in request recordings.
Outputthe integration in your store
- Stage 09
New API versions
IdoSell keeps a major API version for one to two years, so under maintenance we move to the new one ahead of time.
Outputthe integration on the current version
Example rollout: IdoSell with ERP and wholesale
Step by step.
- Store
- IdoSell, retail and wholesale
- Back office
- An ERP with warehouse and invoices
- Problem
- Orders retyped into the ERP, stock updated once a day
- 1
Order to the ERP
The orderPaid webhook creates the order in the ERP with customer data and lines.
- 2
Stock after every document
A warehouse document in the ERP sends the new level to IdoSell via products/stocks.
- 3
Wholesale orders
Orders from regular buyers in the ERP go into IdoSell as wholesale, as the orders/orders gateway accepts both kinds.
- 4
The invoice back
The invoice issued in the ERP, with its KSeF number, returns to the order in IdoSell.
Orders in the ERP seconds after payment and stock current after every document.
Common questions about IdoSell
Click a question to see the answer.
How much does the IdoSell integration cost?
How long does it take?
Would an IdoSell Apps app not do?
What happens when IdoSell releases a new API version?
Will the integration hold during a sale?
Will the IdoSell integration code be mine?
How do you check the IdoSell integration before launch?
What if the IdoSell integration stops working?
Sources
Technical details come from the IdoSell Admin API documentation.
Describe your project.
A free quote comes back within an hour during working hours.