IdoSell integration with ERP, warehouse and wholesalers

VulCode, a software house from Cracow, Poland, integrates IdoSell, a Polish SaaS store platform, with ERP, invoicing software, Allegro and wholesalers through the Admin API and webhooks. Paid orders reach the ERP on their own, stock and prices update after every document, and the invoice issued in the ERP goes back to the IdoSell order, with no manual retyping. The IdoSell integration costs from PLN 999 (about EUR 220) and usually takes 2-3 days, and the free quote comes back within an hour.

  1. 01

    IdoSell recommends a separate API key for every application, with permissions only for the resources it needs.

  2. 02

    A key in the X-API-KEY header or an OAuth 2.0 token passed as Bearer.

  1. 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.

  2. 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.

APIWhat IdoSell says it is forWhen we use it
Adminrunning the store and automating processesERP, warehouse, invoices, stock and prices
Marketplaceconnecting the store to a sales platforma sales channel IdoSell does not support
Fulfillmentshipping and an external warehousea logistics operator or your own warehouse
Customerwholesalers and dropshippingproducts and orders with suppliers
Storefronta custom storefront on IdoSell dataa 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.

IdoSellERP, warehouse, invoicing

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.

IdoSellERP or wholesaler
product and size id
the product map on our side

set by IdoSell, used for writes

codeExtern, the external system code
the item code in the ERP

the key when records start in the ERP

codeProducer, the producer code
the EAN in the wholesaler file

IdoSell supports GTIN-13 (EAN-13), among others

size
a variant or a separate record

external and producer codes also exist per size

stock_id, the warehouse
the ERP warehouse

stock 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.

  1. 01about 10 min after the error
  2. 02about every 10 min for an hour
  3. 03about every hour
  4. 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.

  1. 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.

  2. 02

    Key permissions

    After narrowing a key's permissions, events from revoked areas stop arriving with no error. Monitoring catches that.

  3. 03

    Token and headers

    A webhook can carry a Bearer token and custom headers. The receiver rejects calls without them.

  4. 04

    History for 48 hours

    Delivery history stays in the panel for at least 48 hours. We keep our own event log longer.

  5. 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.

  1. 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

  2. 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

  3. 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

  4. Stage 04

    Demo panel

    We build and test on a free Demo panel, without touching your store.

    Outputan integration working on Demo

  5. 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

  6. 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

  7. Stage 07

    Reconciliation job

    Every day the integration compares orders and stock through the API, instead of relying only on webhooks.

    Outputa daily reconciliation

  8. 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

  9. 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. 1

    Order to the ERP

    The orderPaid webhook creates the order in the ERP with customer data and lines.

  2. 2

    Stock after every document

    A warehouse document in the ERP sends the new level to IdoSell via products/stocks.

  3. 3

    Wholesale orders

    Orders from regular buyers in the ERP go into IdoSell as wholesale, as the orders/orders gateway accepts both kinds.

  4. 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?
The IdoSell integration costs from PLN 999 (about EUR 220). The figure grows with the number of systems, data directions and exceptions to handle. A typical integration takes 2-3 days, and the free quote comes back within an hour. We quote it under our API and integrations service.
How long does it take?
Usually 2-3 days. The exact dated schedule comes with the free quote, and if anything is going to move, you know in advance.
Would an IdoSell Apps app not do?
Often yes. The IdoSell Apps catalogue is free for merchants. A custom integration makes sense for your ERP, an unusual wholesaler or rules an app cannot handle.
What happens when IdoSell releases a new API version?
Minor versions are backward compatible, and IdoSell keeps a major one for one to two years. Under maintenance we move to the new one ahead of time, before the old one is switched off.
Will the integration hold during a sale?
Yes. Changes go through a queue in batches, and every webhook and request counts toward the limit, so we pick only the events needed.
Will the IdoSell integration code be mine?
Yes. Once the work is accepted and paid in full, the economic copyright in the code passes to you. You have access to the repository from the first day, and after acceptance you get it with run instructions. Open source libraries keep their own licences.
How do you check the IdoSell integration before launch?
On a test IdoSell account (the Demo panel) or on a copy of your system. We run real scenarios, including errors, cancellations and returns, and only then switch the integration on in production.
What if the IdoSell integration stops working?
The integration retries failed operations by itself and logs every one, and when the problem does not go away you get a notification. We fix bugs that come from our work under warranty, and you get 90 days of support included after launch.

Sources

Technical details come from the IdoSell Admin API documentation.

Describe your project.

A free quote comes back within an hour during working hours.