v1

latestOpenAPI 3.0.12026-08-0688138402.2 KB
Quotes

Create a shipment quote

Creates a shipment quote with specified sender (origin), receiver (destination), product and services.

This method determines the estimated price for a shipment on Shipmondo's agreement

Important: This endpoint will only provide prices for Shipmondos agreement. If you want to get price for your own agreement please refer to Shipment Quote instead .

post/quotes

Request body

product_codestring required

Product code referring to which product should be quoted for.

service_codesstring

Comma-separated string of service codes referring to which services should be quoted for.

Example request

{
  "product_code": "PDK_MH",
  "service_codes": "EMAIL_NT,SMS_NT",
  "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"
}