Orders and shipments

Orders API

Shipments API

Based on your usage, the delivery options endpoint might also apply to your process in case you are purchasing labels from bol.com.

Logical process flow

order-flow description

Retrieve open orders

This endpoint is used to retrieve all your current open orders, sorted by the creation date in descending order. The endpoint supports pagination (by using the page query parameter) and allows you to filter on FBB orders (in case you are participating in Logistics via bol.com) and FBR orders. In the response, you will find – amongst other attributes – the orderId and order items. This orderId can be used to retrieve the order details.

FBB Orders – best practice

While this endpoint allows you to list both FBR and FBB orders, we recommend only using it for orders that you fulfil yourself (FBR). Since FBB orders are picked, packed and sent by the bol.com warehouse, this means that open orders will be handled by bol.com. Once bol.com handles the open order, it is closed and listed as shipment. Shipments for FBB are available through the shipment endpoints as well.

We try to pick orders as soon as possible, often an order is already picked before you poll the open orders endpoint. As a result you will not see the order in the open orders list anymore. To avoid missing the order entirely we recommend using the shipments endpoint for administration purposes.

Retrieve a single order

With the orderId from the ‘get open orders’ endpoint, you can here fetch all the order details for this specific orderId. In the response, you will find shipment details (that give data that can be used for your shipment), billing details (that gives you data can be used to make up the invoice).

Next to that, you will find all the order items that are part of the order. This can be only 1 (in case the customer orders only 1 item), or more in case the customer orders more than 1 item within the same customer order. The items within the order are known as order items, that are referred to as orderItemId. With this id, you can either choose to ship this order item or to cancel this specific order item.

Ship order item

With this endpoint, it is possible to ship an order item from a specific customer order. There are two ways to ship an order item:

  1. Shipping using your own shipping label. In case you want to ship an order item using your own shipment, you need to provide transport information. For this we require a transporterCode (see table below) and a trackAndTrace. Do note that the trackAndTrace can optionally be left empty in this call. If you want to send them to bol.com later, you can use the Add transport information endpoint. However, there is no need to do so if you send all the data to us at once.

    If you ship this order item by using your own transporter, you need to leave the shippingLabelId empty. It is not possible to either submit transport information as well as a shippingLabelId.

  2. Shipping using a purchased shipping label from bol.com. In case you purchased a shipping label from bol.com, you need to add the shippingLabelId (that you obtained from the ‘get delivery options’) to the response. In that case, it is not allowed to provide also transport information.

Cancel order item

There are two scenarios that can occur regarding canceling an order item:

  1. The customer requested a cancellation. When retrieving a single order you will receive a value ‘cancelRequest’ for every order item. Whenever this value is set to True, the customer cancelled the order item. You don’t need to ship this order item and we will refund the customers’ payment. We do require you to confirm the cancellation request through the cancellation endpoint. It is possible that a customer only cancels a single item within an order. You only have to cancel this one item and can ship the other order items. Please select the reasonCode REQUESTED_BY_CUSTOMER when confirming the cancellation request. A customer cancellation will not count negatively towards your cancellations performance indicator.

    Please note that between retrieving an open order and actually shipping an order item (or canceling an order item yourself), a customer can still request a cancellation. If there is (a lot of) time between retrieving an open order and shipping the order item, it is advisable to retrieve the open order again just before shipping the order item to check for a possible cancellation request from the customer.

  2. In case you cannot ship an order item to the customer, e.g. due to missing of stock, you have the possibility to cancel an order item from the order yourself. The customer never requested a cancellation in this scenario and by canceling the order item, you unfortunately disappoint the customer. Canceling an order item without a cancellation request from the customer, will lead to a negative score on your cancellations performance indicator. Using the reason REQUESTED_BY_CUSTOMER without a customer cancellation request will count negatively as well. You can find your scores through the performance indicators endpoint. bol.com will manage the refund towards the customer when canceling an order item yourself.

Retrieve shipment list

This endpoint is used to retrieve all your shipments, sorted by the shipment date in descending order. The endpoint supports pagination (by using the page query parameter) and allows you to filter on FBB orders (in case you are participating in Logistics via bol.com) and FBR orders. Moreover, you can search within all the shipments on orderId, so that you can find easily and quick a single shipment based on the orderId.

In the response, you will find – amongst other attributes – the shipmentId, shipmentItems and the related transport information. You can use the shipmentId to fetch more shipment details using the ‘retrieve a shipment by shipment id’ endpoint. Moreover, the transportId is in the same response, that can be used to add transport information in case you didn’t do so while shipping the order item.

This endpoint will only return shipments that were created over the past three months.

Retrieve a single shipment

To fetch the details of a shipment, you can use this endpoint to get all the shipment details based on the shipmentId. In the response, you will find the items that where shipped, the transport information and the details of the customer. Based on the GDPR, we omit the transport information from the response when the transport is more than a year old.

With the specific shipmentId you can retrieve shipment information from up to two years ago.

Adding transport information to shipment

Sometimes it can happen that you already want to ship an order item, but you don’t know the track and trace at that moment in time. When this occurs, the customer will not be informed of the track and trace related information. This is not an optimal customer experience for your customer. In this scenario, this endpoint allows you to still send us the track and trace. From that moment onward, the customer will also receive updates on events when this track and trace is scanned.

Customers pay attention to the track and trace, and it is therefore important that you provide this data. Do note that with this endpoint, you can only append data. It is therefore not possible to change the transporter itself, but you are allowed to add data.

Be aware that it is not needed to use this endpoint if you provide us directly with the track and trace and the transporter when shipping an order item. For that reason, this step is optionally in your flow when shipping an order item.


The table below shows all available transporter codes that can be used while creating a shipment or adding a transporter code to a shipment that was created earlier. Please make sure that the transporter code is available for the version of the API that you are using at that time.

Some transporters use a DASH while others use an UNDERSCORE. Please make sure to use the correct one.

Table 1. Transport services and corresponding transporter codes
Transporter / service API transporter code







PostNL extra@home


PostNL Briefpost


TNT Express




DPD Nederland


DPD België


Bpost België


Bpost Briefpost






FedEx Nederland


FedEx Belgie






DHL Germany


DHL Global mail


Transportservice Nederland














NedWRK (Red je pakketje)