Exportpaczka - API

Exportpaczka - API

  • API

›General information

General information

  • Authorization
  • Requests & responses
  • Country routes
  • Global additions
  • Package additions
  • Order object
  • Price checking
  • Creating order
  • Checking order details
  • Downloading order label

Price checking

Base url: https://exportpaczka.pl/api/v1/order/price/check

Description

This resource allows you to send whole order object and check its price

Example of order object (check out order object page for details). Please note that you do not have to provide sendingInformation inside order object when checking its price, it's optional:

{
    "parcelType": "package",
    "countryFrom": "PL",
    "countryTo": "SK",
    "parcelData": [
       {
           "width": 25,
           "height": 5,
           "length": 25,
           "weight": 15,
           "additions": ["nonstandard"]
       }
    ],
    "isOwnTransport": true,
    "collectionDate": "2019-12-17",
    "collectionHour": 12,
    "description": "Package description",
    "globalAdditions": ["cod"],
    "cod": 155.59
}

Resource details

  • Method GET
  • Url /check
  • Full url https://exportpaczka.pl/api/v1/order/price/check
  • Example success response:
{
    "success": true,
    "body": [
        {
            "totalPrice": "53.19",
            "packageAdditionsPrice": "18.00",
            "ownTransportPriceReduction": "12.00",
            "basePrice": "49.99",
            "globalAdditionsPrice": "0.00",
            "totalDiscountPrice": "2.80"
        }
    ]
}

Description of response object

  • totalPrice - total price of the order includes base price, package additions price, global additions price and reduction of own transport
  • basePrice - price without additions and reductions
  • globalAddtionsPrice - summarized price of order additions
  • packageAdditionsPrice - summarized price of package additions
  • ownTransportPriceReduction - reduction for own transport
← Order objectCreating order →
Copyright © 2020 Exportpaczka.pl