« Return to all random blog posts
Australia Post API for Shopping Carts
Australia post provides an API here:You need to post the following values to http://drc.edeliver.com.au/ratecalc.asp
- pickup & destination post code
- country (AU)
- weight
- service type (standard, express, etc..)
- length
- width
- height
- quantity
Aus post calculates the weight of a package by either the cubic weight or actual weight, whichever is greater.
For example: if you have a 2kg package with these dimensions: 80cm(length) x 20cm(height) x 30cm(width) then the actual weight you will be charged for is:
Step 1: work out cubic meters: 0.80 x 0.20 x 0.30 = 0.048
Step 2: work out cubic weight: 0.048 x 250 = 12kg
That means, your 3kg package that is 80x20x30 you will actually be charged for a parcel that weighs 12kg!
Currently working on a prestashop australia post calculator module, I will post it here and on prestashop forums when it is complete.



Comments:
Show comments