v3 - Shipping labels - Demo Endpoints

Retrieve shipping label options for an order item

Retrieves all available shipping label options for an order item using the order item id. For the demo environment this order item id is 6702312887.

GET /retailer-demo/purchasable-shippinglabels/6702312887

  • Request

  • Response

Accept: application/vnd.retailer.v3+json
Content-Type: N/A
Authorization: Bearer token (omitted)

This endpoint has no request body.

Content-Type: application/vnd.retailer.v3+json
Status: 200 OK

{
  "purchasableShippingLabels" : [ {
    "transporterCode" : "DHLFORYOU",
    "labelType" : "PARCEL",
    "maxWeight" : "10 kg",
    "maxDimensions" : "80 x 40 x 18,75 cm",
    "retailerPrice" : 6.0,
    "purchasePrice" : 4.83,
    "discount" : 2.38,
    "shippingLabelCode" : "PLR00000002"
  }, {
    "transporterCode" : "TNT",
    "labelType" : "PARCEL",
    "maxWeight" : "2 kg",
    "maxDimensions" : "38 x 26,5 x 3,2 cm",
    "retailerPrice" : 5.5,
    "purchasePrice" : 4.22,
    "discount" : 0.51,
    "shippingLabelCode" : "PLR00000011"
  }, {
    "transporterCode" : "DPD-NL",
    "labelType" : "PARCEL",
    "maxWeight" : "20 kg",
    "maxDimensions" : "100 x 50 x 50 cm",
    "retailerPrice" : 6.5,
    "purchasePrice" : 6.39,
    "discount" : 2.63,
    "shippingLabelCode" : "PLR00000014"
  } ]
}

Retrieve the shipping label PDF purchased through bol.com

This endpoint is not available in demo.

GET /retailer-demo/transports/356972369/shipping-label

  • Request

  • Response

Accept: application/vnd.retailer.v3+pdf
Content-Type: N/A
Authorization: Bearer token (omitted)

This endpoint has no request body.

Content-Type: application/vnd.retailer.v3+pdf
Status: 200 OK

THIS IS A FAKE PDF FILE AND IS INTENDED FOR TESTING PURPOSES ONLY. For more information check our documentation on https://developers.bol.com