v1

latestOpenAPI 3.0.12026-08-0688138402.2 KB
Quotes

List available quotes for a shipment

Returns a list of available quotes for a shipment with specified sender (origin), receiver (destination).

This method fetches available estimate prices with different shipping products for shipments using Shipmondo's agreement.

Some carriers might not be available for technical reasons.

post/quotes/list

Request body

Example request

{
  "sender": {
    "address1": "Hvilehøjvej 25",
    "zipcode": "5220",
    "city": "Odense SØ",
    "country_code": "DK"
  },
  "receiver": {
    "address1": "Skibhusvej 52",
    "zipcode": "5000",
    "city": "Odense C",
    "country_code": "DK"
  },
  "parcels": [
    {
      "quantity": 1,
      "weight": 1000,
      "length": 20,
      "width": 10,
      "height": 6,
      "volume": 0.012,
      "running_metre": 1.25,
      "description": "Bike accessories",
      "packaging": "PL1",
      "stackable": true,
      "dangerous_goods": [
        {
          "class": "3",
          "un_number": "1202",
          "net_weight": 20100,
          "net_weight_kg": 20.1,
          "gross_weight": 20100,
          "gross_weight_kg": 20.1,
          "quantity": 3,
          "packaging": "drums",
          "description": "DIESEL FUEL, < 62°C (640K)",
          "tunnel_restriction_code": "A",
          "packing_group": "III"
        }
      ],
      "declared_value": {
        "amount": 1250,
        "currency_code": "DKK"
      },
      "attributes": [
        {
          "name": "vat_no",
          "value": "DK36399066"
        }
      ]
    }
  ]
}

Response

Successful.

carrier_codestring

Carrier code referring to the carrier of the product that is quoted for.

descriptionstring

Text to describe the quote, which can be used when presenting it.

product_codestring

Product code referring to the product which is quoted for.

service_codesstring

Comma-separated string of service codes referring to the services which are quoted for.

pricenumber

Estimated price of the shipment, including VAT.

price_before_vatnumber

Estimated price of the shipment, excluding VAT.

currency_codestring

Currency code of the price.

Example response

[
  {
    "carrier_code": "pdk",
    "description": "MyPack Home",
    "product_code": "PDK_MH",
    "service_codes": "EMAIL_NT,SMS_NT",
    "price": 42.5,
    "price_before_vat": 34,
    "currency_code": "DKK"
  }
]