From pricing to tracking
The order of Web API v2 calls in a typical shipment. Each step is a separate endpoint.
- Stage 01
Service structure
We check which services, options and point types you have (service_structure).
Outputa courier list for checkout
- Stage 02
Points
We fetch the drop-off and pickup points of a given type, and the customer picks one (points/:type).
Outputa point chosen at checkout
- Stage 03
Pricing
Checkout prices the shipment for the chosen services (order_valuation).
Outputa delivery price at checkout
- Stage 04
Order
We create the shipment with the parcel data and the point (order_send).
Outputan Apaczka order number
- Stage 05
Label
We fetch the label for printing (waybill).
Outputa parcel label
- Stage 06
Courier pickup
We check the hours when the courier can collect the parcels (pickup_hours).
Outputa pickup time
- Stage 07
Handover
At the end of the day you get a batch handover confirmation as a PDF (turn_in).
Outputa handover document
- Stage 08
Tracking
Shipment statuses go onto the order (tracking).
Outputa status on the order
The Web API v2 endpoints we use
Selected endpoints for a store shipping through Apaczka.
| Endpoint | What for |
|---|---|
| service_structure/ | Services, options, package and point types, and whether a courier pickup is needed. |
| points/:type | Dispatch and pickup points of a given type. |
| order_valuation/ | Pricing a shipment before ordering it. |
| order_send/ | Ordering a shipment. |
| waybill/:order_id/ | The waybill for printing. |
| turn_in/ | A batch handover confirmation as PDF. |
| pickup_hours/ | Hours a courier can pick up parcels. |
| tracking/:waybill_number/ | Shipment statuses. |
| cancel_order/:order_id/ | Cancelling a shipment. |
What flows between the store and Apaczka
The store sends shipment data; Apaczka returns prices, documents and statuses.
Delivery prices
pricing at checkout
Pickup points
the customer choosing a point
Shipment order
packing an order
Labels and handover document
printing while packing, end of day
Shipment statuses
periodic tracking checks
A plugin or an API integration
On popular platforms a ready connection usually does. We write code for custom stores and systems.
Configure the platform integration. No code needed.
A Web API v2 module in your code, with signatures and error handling.
- 01 A ready platform connection
- 02 An integration through the Web API
When
- The store runs on WooCommerce, Shoper (a Polish store platform) or Shopify.
- You handle shipping in the Apaczka panel.
- The store or warehouse is custom-built.
- Delivery prices should be calculated live at checkout.
- Labels and documents should live in your panel.
A ready platform connection
When
- The store runs on WooCommerce, Shoper (a Polish store platform) or Shopify.
- You handle shipping in the Apaczka panel.
Configure the platform integration. No code needed.
An integration through the Web API
When
- The store or warehouse is custom-built.
- Delivery prices should be calculated live at checkout.
- Labels and documents should live in your panel.
A Web API v2 module in your code, with signatures and error handling.
05
What we watch out for with Apaczka
The most common reasons requests get rejected.
- 01
Signature
The same data string in signature and body
Re-serialising the JSON after signing changes characters and breaks the signature.
- 02
The server clock
Expiry is counted from server time. A network-synced clock avoids puzzling errors.
- 03
Services from service_structure
Service and option ids come from that endpoint, never hard-coded.
- 04
Whether a courier pickup is needed
The service structure says whether a courier pickup is possible or required. The dispatch screen depends on it.
How we will do it: a store with live delivery pricing
The rollout, step by step.
- Store
- Custom-built, varied parcel sizes
- Problem
- One flat delivery rate that loses money on large parcels
- Shipping
- Several couriers through Apaczka
- 1
Dimensions in the catalogue
Products get weight and dimensions the checkout builds the parcel from.
- 2
Pricing at checkout
Checkout asks for pricing for the available services and shows real prices.
- 3
Dispatch from the panel
The warehouse orders the shipment, prints the label and, at day's end, the handover document.
- 4
Statuses for the customer
Tracking reaches the order and the client panel.
The delivery price matches the parcel, and the warehouse no longer retypes addresses into another panel.
Common questions about Apaczka
Click a question to see the answer.
How much does the Apaczka integration cost?
How long does it take?
Will the customer see the delivery price before buying?
Can I print labels in bulk?
Apaczka or Furgonetka: which one to choose?
Will the Apaczka integration code be mine?
How do you check the Apaczka integration before launch?
What if the Apaczka integration stops working?
What if Apaczka changes its API?
Sources
Technical details come from the Apaczka Web API documentation.
Describe your project.
A free quote comes back within an hour during working hours.