Apilo integration through the REST API

VulCode, a software house from Cracow, Poland, connects Apilo, a Polish multichannel order-management system, with your custom-built store, B2B panel, own warehouse and other systems Apilo does not know, through its REST API. Apilo keeps gathering marketplace sales and handling couriers, while orders, statuses mapped to your account, stock, shipments and sales documents flow through its REST API. The Apilo integration costs from PLN 999 (about EUR 220) and usually takes 2-3 days, and the free quote comes back within an hour.

Apilo

When Apilo, and when code

Apilo has ready integrations with marketplaces, stores, couriers, accounting software, WMS and wholesalers. Code is only needed where your system is not one of them.

Most often it is a custom store or B2B panel, your own warehouse or a system that should receive documents and statuses from Apilo. Then the integration talks to the Apilo REST API, where orders, documents, stock and shipping are separate resources.

If you are still choosing between Apilo and BaseLinker, the integration-side comparison is on our BaseLinker page. Choosing a system is a business decision; we show what it means for your code.

Authorisation and the first requests

Apilo uses access and refresh tokens. The integration makes sure it is never left without a valid token.

Your systemApilo
Your system → Apilo
POST /rest/auth/token/

Exchanging the authorisation code for tokens

Apilo → Your system
access_token and refresh_token
Your system → Apilo
GET /rest/api/orders/?limit=...

An Authorization: Bearer header, JSON responses

Your system → Apilo
PUT .../orders/{id}/status/

A status change per the account's status map

Your system → Apilo
POST /rest/auth/token/ with refresh_token

Refresh before expiry, not after an error

Maps instead of assumptions
Statuses, payment methods, couriers and platforms have their own ids in Apilo. The integration fetches their maps instead of hard-coding values.
Dates with a time zone
Apilo takes ISO 8601 dates. In GET filters the plus sign of the time zone must be encoded, or it is read as a space.

The Apilo API resources we use

A selection of resources for typical integrations. The documentation lists them all.

ResourceWhat for
/rest/api/orders/Orders from every channel, with payment, notes, tags and shipments.
/rest/api/orders/status/map/Account statuses we map your system's statuses to.
/rest/api/finance/documents/Sales documents, including attached external ones, e.g. from the ERP.
/rest/api/warehouse/product/Products, attributes and media of the Apilo warehouse.
/rest/api/warehouse/price/Product prices, including calculated ones.
/rest/api/shipping/shipment/Shipments, tracking and carrier documents.

The request limit is 150 per minute and lists return up to 2000 items.

Apilo in the middle, your system next to it

A typical layout: Apilo handles channels and couriers, and the integration links them to what Apilo does not know.

Apiloorders, stock, shipping

What flows between your system and Apilo

We set directions separately for each kind of data.

Your systemApilo

Store orders

acceptance or payment

Order statuses

a change on either side

per the account's status map

Products and prices

a change in the Apilo warehouse

Shipments and tracking

a parcel dispatched

Sales documents

a document issued

to the client panel or ERP

06

What we watch out for with Apilo

Details from the documentation that decide how stable the integration is.

  1. 01

    Requests

    The 150 requests per minute limit

    Every integration process shares one counter, and changes are batched.

  2. 02

    Paging lists

    Lists go up to 2000 items with an offset. At high volume we fetch incrementally, not everything.

  3. 03

    Content-type headers

    Every request, including auth, needs Accept and Content-Type set to application/json.

  4. 04

    Status and carrier maps

    Ids differ per account. We fetch them from the API at start-up and after panel changes.

  5. 05

    Time zones in dates

    An unencoded plus in a date filter shifts the range by hours and loses orders.

How we will do it: a B2B store next to Apilo

The rollout, step by step.

Sales
Allegro through Apilo and a custom B2B store
Accounting
Subiekt connected to Apilo
Shipping
Couriers handled in Apilo
  1. 1

    Maps from the account

    We fetch statuses, payments and carriers from the Apilo account and set their store equivalents.

  2. 2

    B2B orders into Apilo

    Paid or approved orders reach Apilo, where the warehouse takes over.

  3. 3

    Stock and shipments back

    Stock and tracking numbers flow back to the store, and the customer sees them in their panel.

The B2B store and Allegro share one warehouse and one shipping process.

Common questions about Apilo integration

  1. Question 01

    How much does the Apilo integration cost?

    VulCode
    The Apilo 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.
  2. Question 02

    How long does it take?

    VulCode
    Usually 2-3 days. The exact dated schedule comes with the free quote, and if anything is going to move, you know in advance.
  3. Question 03

    Apilo or BaseLinker?

    VulCode
    Either works: the choice depends on your sales channels and the price, and we build the custom part for both. Apilo has separate API resources and a limit of 150 requests per minute; BaseLinker has one API entry point and a limit of 100 requests per minute. If you need many ready marketplace connections, compare both on price.
  4. Question 04

    Will Apilo connect to KSeF?

    VulCode
    Invoices usually reach KSeF through the accounting program connected to Apilo, or through your system. We establish where the invoice is made and build the KSeF route from there.
In short Questions 01-04
More questions 6

More questions

Click a question to see the answer.

05

Can we test without affecting sales?

Yes. We start with read-only requests and switch writes on in stages, first for selected orders.
06

Will the Apilo 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.
07

How do you check the Apilo integration before launch?

On the provider's test environment 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.
08

What if the Apilo 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.
09

What if Apilo changes its API?

Apilo announces changes in advance. We follow those notices and adapt the integration under a maintenance plan or as a separate short order, before the old version stops working.
10

Is the Apilo limit of 150 requests per minute enough at high sales volume?

Usually yes. Every integration process shares one counter, so we batch changes and fetch lists incrementally rather than in full.

Sources

Technical details come from the Apilo documentation.

Describe your project.

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