Info
  • Web service URL: BASE_URL/api/Price

1. Create a new price request (POST Method)

The request is the same as Order  -> Please check Shipment Service -> Order

  1.  if you send serviceId == 0 or do not send serviceId at all, you ll receive prices for all services
  2. if serviceId is sent with a valid service, (example serviceId == 1), you ll receive prices only for that service (Standard).

1.1 Price request response

200 - Response 

{
    "rates": [
        {
            "carrierId": 1,
            "carrier": "Cargus",
            "rateAmount": 24.99,
            "rateVatAmount": 3.99,
            "rateTotalAmount": 28.98, 
            "rateCurrency": "RON",
            "score": 11.90,
            "performance": 100.0,
            "calculatedDeliveryDate": "2022-03-10T22:00:00Z",
            "deliveryDays": 1,
            "serviceId": 1,
            "service": "Standard"
        },
        {
            "carrierId": 2,
            "carrier": "DPD",
            "rateAmount": 5.95,
            "rateVatAmount": 0.95,
            "rateTotalAmount": 6.9,
            "rateCurrency": "RON",
            "score": 100.00,
            "performance": 100.0,
            "calculatedDeliveryDate": "2022-03-10T22:00:00Z",
            "deliveryDays": 1,
            "serviceId": 1,
            "service": "Standard"
        },
        {
            "carrierId": 3,
            "carrier": "FanCourier",
            "rateAmount": 10.91,
            "rateVatAmount": 1.74,
            "rateTotalAmount": 12.65,
            "rateCurrency": "RON",
            "score": 27.26,
            "performance": 100.00,
            "calculatedDeliveryDate": "2022-03-10T22:00:00Z",
            "deliveryDays": 1,
            "serviceId": 1,
            "service": "Standard"
        }
    ]
}