The P4D API
If you would like to integrate your own systems directly with P4D
then our API is for you. This means that you can obtain details about all the
services we offer, generate quotes, place bookings and more all without ever
having to log into P4D. The possibilities are endless - whether you
want to integrate our API with your own shopping cart, start selling parcel
delivery services through your website or even if you have another idea then
this is the place to start.
We have tried to make our API as simple to understand as possible. For more
information click the appropriate link below. If you have any questions then
please contact technical@p4d.co.uk. The API is relatively new so if
you have any suggestions for improvement then we would be very happy to hear
them.
Technical Summary
In a nutshell, here is how our API works:
» Create an account with P4D
» Obtain your API Key from the 'Tools' menu
» Review the available functions below
» Post your request to https://www.p4d.co.uk/p4d/api/phpsystem
» You will receive back a response from our system in a fraction of a second.
For PHP code samples click here
Testing the API
If you would like to test the API without any bookings actually being processed
with the appropriate courier then use the details below.
| Username
|
testuser |
| API Key |
FI71OLRJB7LYC7BDRR0 |
(both the username and API Key are case sensitive)
Available Functions
|
Available
Functions |
|
GetBalance |
Get
your current account top-up balance |
|
GetCountries |
Get
a list of all the countries we offer a delivery service to |
|
GetQuote |
Obtain a quote based on the collection and delivery address
as well as parcel details |
|
CollectionTimes |
Find available collection date and times for your parcel |
|
GetInsurance |
View the additional insurance options we have available |
|
ServiceInfo |
Get
specific information about the services we offer |
|
QuoteInformation |
Receive details for any quote you have already requested |
|
PlaceBooking |
Place a booking through Shipping Manager in real time |
|
ParcelStatus |
Get
the status of a parcel you have booked |
|
Tracking |
Get
the current track and trace information for a parcel you
have booked |
|