QuoteInformation (V2)

Use this function to retrieve a quote you have already generated using GetQuote function.

Input Fields

Field Name Required? Description Example
ShipAction YES This tells our system which function you require QuoteInformation
Username YES You must specify your username testuser
APIKey YES This is available from your P4D account page HJ1E6DOTRDXAOLB
QuoteID YES * The QuoteID returned by the GetQuote function ZcYaXh7dFRBsm1

Example Output

stdClass Object
(
    [ShipAction] => QuoteInformation
    [Status] => Success
    [RequestDate] => 2012-10-04 21:39:01
    [Username] => testuser
    [QuoteID] => ZcYaXh7dFRBsm1
    [QuoteExpires] => 2012-10-18 21:28:52
    [NoServices] => 15
    [NoParcels] => 1
    [DeliveryCountry] => United Kingdom
    [CheapestQuote] => stdClass Object
        (
            [SubTotal] => 7.99
            [VatTotal] => 1.60
            [TotalPrice] => 9.59
        )

    [ServiceOptions] => Array
        (
            [0] => stdClass Object
                (
                    [OptionID] => CITYLINK_NEXT
                    [Carrier] => Citylink
                    [ServiceName] => City Link Next Day Delivery
                    [ServiceID] => CITYLINK_NEXT
                    [SubjectToVat] => 1
                    [SubTotal] => 7.99
                    [VatTotal] => 1.60
                    [TotalPrice] => 9.59
                    [ServiceIcon] => http://www.p4d.co.uk/images/carriers/v2/citylink.png
                    [ETA] => Next Day
                    [AdditionalETA] => Next working day before 17:30
                    [Printer] => 1
                    [PrinterText] => optional
                    [CollectionDates] => Array
                        (
                            [0] => stdClass Object
                                (
                                    [date] => 2012-10-05
                                    [cutoff] => If you book before 11pm on Thursday
                                )

                            [1] => stdClass Object
                                (
                                    [date] => 2012-10-08
                                    [cutoff] => If you book before 11pm on Sunday
                                )

                            [2] => stdClass Object
                                (
                                    [date] => 2012-10-09
                                    [cutoff] => If you book before 11pm on Monday
                                )

                            [3] => stdClass Object
                                (
                                    [date] => 2012-10-10
                                    [cutoff] => If you book before 11pm on Tuesday
                                )

                            [4] => stdClass Object
                                (
                                    [date] => 2012-10-11
                                    [cutoff] => If you book before 11pm on Wednesday
                                )

                            [5] => stdClass Object
                                (
                                    [date] => 2012-10-12
                                    [cutoff] => If you book before 11pm on Thursday
                                )

                        )

                )

            [1] => stdClass Object
                (
                    [OptionID] => PF48_UKUK
                    [Carrier] => PF
                    [ServiceName] => 48 Hour delivery
                    [ServiceID] => PF48_UKUK
                    [SubjectToVat] => 1
                    [SubTotal] => 10.99
                    [VatTotal] => 2.20
                    [TotalPrice] => 13.19
                    [ServiceIcon] => http://www.p4d.co.uk/images/carriers/v2/pf.png
                    [ETA] => 48 hours
                    [AdditionalETA] => Before 17:30 within 2 working days
                    [Printer] => 3
                    [PrinterText] => notrequired
                    [CollectionDates] => Array
                        (
                            [0] => stdClass Object
                                (
                                    [date] => 2012-10-05
                                    [cutoff] => If you book before midday on Friday
                                )

                            [1] => stdClass Object
                                (
                                    [date] => 2012-10-08
                                    [cutoff] => If you book before 1am on Monday
                                )

                            [2] => stdClass Object
                                (
                                    [date] => 2012-10-09
                                    [cutoff] => If you book before 1am on Tuesday
                                )

                            [3] => stdClass Object
                                (
                                    [date] => 2012-10-10
                                    [cutoff] => If you book before 1am on Wednesday
                                )

                            [4] => stdClass Object
                                (
                                    [date] => 2012-10-11
                                    [cutoff] => If you book before 1am on Thursday
                                )

                            [5] => stdClass Object
                                (
                                    [date] => 2012-10-12
                                    [cutoff] => If you book before 1am on Friday
                                )

                        )

                )

            [2] => stdClass Object
                (
                    [OptionID] => YODEL24_UKUK
                    [Carrier] => DHL Home
                    [ServiceName] => Yodel Express Next Day
                    [ServiceID] => YODEL24_UKUK
                    [SubjectToVat] => 1
                    [SubTotal] => 14.99
                    [VatTotal] => 3.00
                    [TotalPrice] => 17.99
                    [ServiceIcon] => http://www.p4d.co.uk/images/carriers/v2/dhl_home.png
                    [ETA] => Next Day
                    [AdditionalETA] => Next working day before 17:30
                    [Printer] => 3
                    [PrinterText] => notrequired
                    [CollectionDates] => Array
                        (
                            [0] => stdClass Object
                                (
                                    [date] => 2012-10-05
                                    [cutoff] => If you book before 11pm on Thursday
                                )

                            [1] => stdClass Object
                                (
                                    [date] => 2012-10-08
                                    [cutoff] => If you book before 11pm on Sunday
                                )

                            [2] => stdClass Object
                                (
                                    [date] => 2012-10-09
                                    [cutoff] => If you book before 11pm on Monday
                                )

                            [3] => stdClass Object
                                (
                                    [date] => 2012-10-10
                                    [cutoff] => If you book before 11pm on Tuesday
                                )

                            [4] => stdClass Object
                                (
                                    [date] => 2012-10-11
                                    [cutoff] => If you book before 11pm on Wednesday
                                )

                            [5] => stdClass Object
                                (
                                    [date] => 2012-10-12
                                    [cutoff] => If you book before 11pm on Thursday
                                )

                        )

                )

            [3] => stdClass Object
                (
                    [OptionID] => PF48_UKUK_DROP
                    [Carrier] => PF_DROPOFF
                    [ServiceName] => 48 Hour delivery [DROP OFF]
                    [ServiceID] => PF48_UKUK_DROP
                    [SubjectToVat] => 1
                    [SubTotal] => 9.99
                    [VatTotal] => 2.00
                    [TotalPrice] => 11.99
                    [ServiceIcon] => http://www.p4d.co.uk/images/carriers/v2/pf_dropoff.png
                    [ETA] => 48 hours
                    [AdditionalETA] => You must drop your parcel off at your local Parcelforce depot before 7pm
                    [Printer] => 2
                    [PrinterText] => required
                    [CollectionDates] => Array
                        (
                            [0] => stdClass Object
                                (
                                    [date] => 2012-10-05
                                    [cutoff] => If you book before 7pm on Friday
                                )

                            [1] => stdClass Object
                                (
                                    [date] => 2012-10-08
                                    [cutoff] => If you book before 7pm on Monday
                                )

                            [2] => stdClass Object
                                (
                                    [date] => 2012-10-09
                                    [cutoff] => If you book before 7pm on Tuesday
                                )

                            [3] => stdClass Object
                                (
                                    [date] => 2012-10-10
                                    [cutoff] => If you book before 7pm on Wednesday
                                )

                            [4] => stdClass Object
                                (
                                    [date] => 2012-10-11
                                    [cutoff] => If you book before 7pm on Thursday
                                )

                            [5] => stdClass Object
                                (
                                    [date] => 2012-10-12
                                    [cutoff] => If you book before 7pm on Friday
                                )

                        )

                )

            [4] => stdClass Object
                (
                    [OptionID] => PF24_UKUK_DROP
                    [Carrier] => PF_DROPOFF
                    [ServiceName] => 24 Hour delivery [DROP OFF]
                    [ServiceID] => PF24_UKUK_DROP
                    [SubjectToVat] => 1
                    [SubTotal] => 10.99
                    [VatTotal] => 2.20
                    [TotalPrice] => 13.19
                    [ServiceIcon] => http://www.p4d.co.uk/images/carriers/v2/pf_dropoff.png
                    [ETA] => Next Day
                    [AdditionalETA] => You must drop your parcel off at your local Parcelforce depot before 7pm
                    [Printer] => 2
                    [PrinterText] => required
                    [CollectionDates] => Array
                        (
                            [0] => stdClass Object
                                (
                                    [date] => 2012-10-05
                                    [cutoff] => If you book before 7pm on Friday
                                )

                            [1] => stdClass Object
                                (
                                    [date] => 2012-10-08
                                    [cutoff] => If you book before 7pm on Monday
                                )

                            [2] => stdClass Object
                                (
                                    [date] => 2012-10-09
                                    [cutoff] => If you book before 7pm on Tuesday
                                )

                            [3] => stdClass Object
                                (
                                    [date] => 2012-10-10
                                    [cutoff] => If you book before 7pm on Wednesday
                                )

                            [4] => stdClass Object
                                (
                                    [date] => 2012-10-11
                                    [cutoff] => If you book before 7pm on Thursday
                                )

                            [5] => stdClass Object
                                (
                                    [date] => 2012-10-12
                                    [cutoff] => If you book before 7pm on Friday
                                )

                        )

                )

            [5] => stdClass Object
                (
                    [OptionID] => PF24_UKUK
                    [Carrier] => PF
                    [ServiceName] => 24 Hour delivery
                    [ServiceID] => PF24_UKUK
                    [SubjectToVat] => 1
                    [SubTotal] => 11.99
                    [VatTotal] => 2.40
                    [TotalPrice] => 14.39
                    [ServiceIcon] => http://www.p4d.co.uk/images/carriers/v2/pf.png
                    [ETA] => Next Day
                    [AdditionalETA] => Next working day before 17:30
                    [Printer] => 3
                    [PrinterText] => notrequired
                    [CollectionDates] => Array
                        (
                            [0] => stdClass Object
                                (
                                    [date] => 2012-10-05
                                    [cutoff] => If you book before midday on Friday
                                )

                            [1] => stdClass Object
                                (
                                    [date] => 2012-10-08
                                    [cutoff] => If you book before 1am on Monday
                                )

                            [2] => stdClass Object
                                (
                                    [date] => 2012-10-09
                                    [cutoff] => If you book before 1am on Tuesday
                                )

                            [3] => stdClass Object
                                (
                                    [date] => 2012-10-10
                                    [cutoff] => If you book before 1am on Wednesday
                                )

                            [4] => stdClass Object
                                (
                                    [date] => 2012-10-11
                                    [cutoff] => If you book before 1am on Thursday
                                )

                            [5] => stdClass Object
                                (
                                    [date] => 2012-10-12
                                    [cutoff] => If you book before 1am on Friday
                                )

                        )

                )

            [6] => stdClass Object
                (
                    [OptionID] => CITYLINK_1200
                    [Carrier] => Citylink
                    [ServiceName] => City Link Pre 12:00
                    [ServiceID] => CITYLINK_1200
                    [SubjectToVat] => 1
                    [SubTotal] => 12.50
                    [VatTotal] => 2.50
                    [TotalPrice] => 15.00
                    [ServiceIcon] => http://www.p4d.co.uk/images/carriers/v2/citylink.png
                    [ETA] => Next Day
                    [AdditionalETA] => Next working day before midday
                    [Printer] => 1
                    [PrinterText] => optional
                    [CollectionDates] => Array
                        (
                            [0] => stdClass Object
                                (
                                    [date] => 2012-10-05
                                    [cutoff] => If you book before 11pm on Thursday
                                )

                            [1] => stdClass Object
                                (
                                    [date] => 2012-10-08
                                    [cutoff] => If you book before 11pm on Sunday
                                )

                            [2] => stdClass Object
                                (
                                    [date] => 2012-10-09
                                    [cutoff] => If you book before 11pm on Monday
                                )

                            [3] => stdClass Object
                                (
                                    [date] => 2012-10-10
                                    [cutoff] => If you book before 11pm on Tuesday
                                )

                            [4] => stdClass Object
                                (
                                    [date] => 2012-10-11
                                    [cutoff] => If you book before 11pm on Wednesday
                                )

                            [5] => stdClass Object
                                (
                                    [date] => 2012-10-12
                                    [cutoff] => If you book before 11pm on Thursday
                                )

                        )

                )

            [7] => stdClass Object
                (
                    [OptionID] => P4D_TR24
                    [Carrier] => TNT
                    [ServiceName] => TNT Express
                    [ServiceID] => P4D_TR24
                    [SubjectToVat] => 1
                    [SubTotal] => 22.22
                    [VatTotal] => 4.44
                    [TotalPrice] => 26.66
                    [ServiceIcon] => http://www.p4d.co.uk/images/carriers/v2/tnt.png
                    [ETA] => Next Day
                    [AdditionalETA] => Next working day before 17:30
                    [Printer] => 2
                    [PrinterText] => required
                    [CollectionDates] => Array
                        (
                            [0] => stdClass Object
                                (
                                    [date] => 2012-10-05
                                    [cutoff] => If you book before 1pm on Friday
                                )

                            [1] => stdClass Object
                                (
                                    [date] => 2012-10-08
                                    [cutoff] => If you book before 1pm on Monday
                                )

                            [2] => stdClass Object
                                (
                                    [date] => 2012-10-09
                                    [cutoff] => If you book before 1pm on Tuesday
                                )

                            [3] => stdClass Object
                                (
                                    [date] => 2012-10-10
                                    [cutoff] => If you book before 1pm on Wednesday
                                )

                            [4] => stdClass Object
                                (
                                    [date] => 2012-10-11
                                    [cutoff] => If you book before 1pm on Thursday
                                )

                            [5] => stdClass Object
                                (
                                    [date] => 2012-10-12
                                    [cutoff] => If you book before 1pm on Friday
                                )

                        )

                )

            [8] => stdClass Object
                (
                    [OptionID] => CITYLINK_SAT
                    [Carrier] => Citylink
                    [ServiceName] => City Link Saturday AM Delivery
                    [ServiceID] => CITYLINK_SAT
                    [SubjectToVat] => 1
                    [SubTotal] => 25.00
                    [VatTotal] => 5.00
                    [TotalPrice] => 30.00
                    [ServiceIcon] => http://www.p4d.co.uk/images/carriers/v2/citylink.png
                    [ETA] => Saturday
                    [AdditionalETA] => Delivery on Saturday before midday
                    [Printer] => 1
                    [PrinterText] => optional
                    [CollectionDates] => Array
                        (
                            [0] => stdClass Object
                                (
                                    [date] => 2012-10-05
                                    [cutoff] => If you book before 11pm on Thursday
                                )

                            [1] => stdClass Object
                                (
                                    [date] => 2012-10-12
                                    [cutoff] => If you book before 11pm on Thursday
                                )

                        )

                )

            [9] => stdClass Object
                (
                    [OptionID] => CITYLINK_0900
                    [Carrier] => Citylink
                    [ServiceName] => City Link Pre 09:00
                    [ServiceID] => CITYLINK_0900
                    [SubjectToVat] => 1
                    [SubTotal] => 25.00
                    [VatTotal] => 5.00
                    [TotalPrice] => 30.00
                    [ServiceIcon] => http://www.p4d.co.uk/images/carriers/v2/citylink.png
                    [ETA] => Next Day
                    [AdditionalETA] => Next working day before 09:00
                    [Printer] => 1
                    [PrinterText] => optional
                    [CollectionDates] => Array
                        (
                            [0] => stdClass Object
                                (
                                    [date] => 2012-10-05
                                    [cutoff] => If you book before 11pm on Thursday
                                )

                            [1] => stdClass Object
                                (
                                    [date] => 2012-10-08
                                    [cutoff] => If you book before 11pm on Sunday
                                )

                            [2] => stdClass Object
                                (
                                    [date] => 2012-10-09
                                    [cutoff] => If you book before 11pm on Monday
                                )

                            [3] => stdClass Object
                                (
                                    [date] => 2012-10-10
                                    [cutoff] => If you book before 11pm on Tuesday
                                )

                            [4] => stdClass Object
                                (
                                    [date] => 2012-10-11
                                    [cutoff] => If you book before 11pm on Wednesday
                                )

                            [5] => stdClass Object
                                (
                                    [date] => 2012-10-12
                                    [cutoff] => If you book before 11pm on Thursday
                                )

                        )

                )

            [10] => stdClass Object
                (
                    [OptionID] => P4D_TRNOON
                    [Carrier] => TNT
                    [ServiceName] => TNT Express 12:00
                    [ServiceID] => P4D_TRNOON
                    [SubjectToVat] => 1
                    [SubTotal] => 27.78
                    [VatTotal] => 5.56
                    [TotalPrice] => 33.34
                    [ServiceIcon] => http://www.p4d.co.uk/images/carriers/v2/tnt.png
                    [ETA] => Next Day
                    [AdditionalETA] => Next working day before midday
                    [Printer] => 2
                    [PrinterText] => required
                    [CollectionDates] => Array
                        (
                            [0] => stdClass Object
                                (
                                    [date] => 2012-10-05
                                    [cutoff] => If you book before 1pm on Friday
                                )

                            [1] => stdClass Object
                                (
                                    [date] => 2012-10-08
                                    [cutoff] => If you book before 1pm on Monday
                                )

                            [2] => stdClass Object
                                (
                                    [date] => 2012-10-09
                                    [cutoff] => If you book before 1pm on Tuesday
                                )

                            [3] => stdClass Object
                                (
                                    [date] => 2012-10-10
                                    [cutoff] => If you book before 1pm on Wednesday
                                )

                            [4] => stdClass Object
                                (
                                    [date] => 2012-10-11
                                    [cutoff] => If you book before 1pm on Thursday
                                )

                            [5] => stdClass Object
                                (
                                    [date] => 2012-10-12
                                    [cutoff] => If you book before 1pm on Friday
                                )

                        )

                )

            [11] => stdClass Object
                (
                    [OptionID] => PF48L_UKUK
                    [Carrier] => PF_LARGE
                    [ServiceName] => 48 Hour delivery for large parcels (UK to UK)
                    [ServiceID] => PF48L_UKUK
                    [SubjectToVat] => 1
                    [SubTotal] => 28.99
                    [VatTotal] => 5.80
                    [TotalPrice] => 34.79
                    [ServiceIcon] => http://www.p4d.co.uk/images/carriers/v2/pf_large.png
                    [ETA] => 48 hours
                    [AdditionalETA] => Before 17:30 within 2 working days
                    [Printer] => 3
                    [PrinterText] => notrequired
                    [CollectionDates] => Array
                        (
                            [0] => stdClass Object
                                (
                                    [date] => 2012-10-05
                                    [cutoff] => If you book before midday on Friday
                                )

                            [1] => stdClass Object
                                (
                                    [date] => 2012-10-08
                                    [cutoff] => If you book before 1am on Monday
                                )

                            [2] => stdClass Object
                                (
                                    [date] => 2012-10-09
                                    [cutoff] => If you book before 1am on Tuesday
                                )

                            [3] => stdClass Object
                                (
                                    [date] => 2012-10-10
                                    [cutoff] => If you book before 1am on Wednesday
                                )

                            [4] => stdClass Object
                                (
                                    [date] => 2012-10-11
                                    [cutoff] => If you book before 1am on Thursday
                                )

                            [5] => stdClass Object
                                (
                                    [date] => 2012-10-12
                                    [cutoff] => If you book before 1am on Friday
                                )

                        )

                )

            [12] => stdClass Object
                (
                    [OptionID] => PALLETWAYS_QUAR_ECON
                    [Carrier] => PALLETWAYS
                    [ServiceName] => 24 - 48 Hour Quarter Pallet Delivery
                    [ServiceID] => PALLETWAYS_QUAR_ECON
                    [SubjectToVat] => 1
                    [SubTotal] => 39.33
                    [VatTotal] => 7.87
                    [TotalPrice] => 47.20
                    [ServiceIcon] => http://www.p4d.co.uk/images/carriers/v2/palletways.png
                    [ETA] => Within 2 days
                    [AdditionalETA] => Within 2 working days before 17:30
                    [Printer] => 3
                    [PrinterText] => notrequired
                    [CollectionDates] => Array
                        (
                            [0] => stdClass Object
                                (
                                    [date] => 2012-10-05
                                    [cutoff] => If you book before midday on Friday
                                )

                            [1] => stdClass Object
                                (
                                    [date] => 2012-10-08
                                    [cutoff] => If you book before 1am on Monday
                                )

                            [2] => stdClass Object
                                (
                                    [date] => 2012-10-09
                                    [cutoff] => If you book before 1am on Tuesday
                                )

                            [3] => stdClass Object
                                (
                                    [date] => 2012-10-10
                                    [cutoff] => If you book before 1am on Wednesday
                                )

                            [4] => stdClass Object
                                (
                                    [date] => 2012-10-11
                                    [cutoff] => If you book before 1am on Thursday
                                )

                            [5] => stdClass Object
                                (
                                    [date] => 2012-10-12
                                    [cutoff] => If you book before 1am on Friday
                                )

                        )

                )

            [13] => stdClass Object
                (
                    [OptionID] => DHLHEAVY_UKUK
                    [Carrier] => DHL_HEAVY
                    [ServiceName] => DHL 1-2 Working Days for Large or Heavy Items
                    [ServiceID] => DHLHEAVY_UKUK
                    [SubjectToVat] => 1
                    [SubTotal] => 49.99
                    [VatTotal] => 10.00
                    [TotalPrice] => 59.99
                    [ServiceIcon] => http://www.p4d.co.uk/images/carriers/v2/dhl_heavy.png
                    [ETA] => 24-48 Hours
                    [AdditionalETA] => Within 1-2 working days before 17:30
                    [Printer] => 3
                    [PrinterText] => notrequired
                    [CollectionDates] => Array
                        (
                            [0] => stdClass Object
                                (
                                    [date] => 2012-10-08
                                    [cutoff] => If you book before midday on Sunday
                                )

                            [1] => stdClass Object
                                (
                                    [date] => 2012-10-09
                                    [cutoff] => If you book before 1am on Monday
                                )

                            [2] => stdClass Object
                                (
                                    [date] => 2012-10-10
                                    [cutoff] => If you book before 1am on Tuesday
                                )

                            [3] => stdClass Object
                                (
                                    [date] => 2012-10-11
                                    [cutoff] => If you book before 1am on Wednesday
                                )

                            [4] => stdClass Object
                                (
                                    [date] => 2012-10-12
                                    [cutoff] => If you book before 1am on Thursday
                                )

                        )

                )

            [14] => stdClass Object
                (
                    [OptionID] => CITYLINK_0730
                    [Carrier] => Citylink
                    [ServiceName] => City Link Pre 07:30
                    [ServiceID] => CITYLINK_0730
                    [SubjectToVat] => 1
                    [SubTotal] => 52.00
                    [VatTotal] => 10.40
                    [TotalPrice] => 62.40
                    [ServiceIcon] => http://www.p4d.co.uk/images/carriers/v2/citylink.png
                    [ETA] => Next Day
                    [AdditionalETA] => Next working day before 07:30
                    [Printer] => 1
                    [PrinterText] => optional
                    [CollectionDates] => Array
                        (
                            [0] => stdClass Object
                                (
                                    [date] => 2012-10-05
                                    [cutoff] => If you book before 11pm on Thursday
                                )

                            [1] => stdClass Object
                                (
                                    [date] => 2012-10-08
                                    [cutoff] => If you book before 11pm on Sunday
                                )

                            [2] => stdClass Object
                                (
                                    [date] => 2012-10-09
                                    [cutoff] => If you book before 11pm on Monday
                                )

                            [3] => stdClass Object
                                (
                                    [date] => 2012-10-10
                                    [cutoff] => If you book before 11pm on Tuesday
                                )

                            [4] => stdClass Object
                                (
                                    [date] => 2012-10-11
                                    [cutoff] => If you book before 11pm on Wednesday
                                )

                            [5] => stdClass Object
                                (
                                    [date] => 2012-10-12
                                    [cutoff] => If you book before 11pm on Thursday
                                )

                        )

                )

        )

    [CollectionAddress] => stdClass Object
        (
            [Name] => Test Person
            [Company] => Company Name
            [Address1] => Street Name
            [Address2] => 
            [Address3] => 
            [Town] => Town Name
            [County] => Collection County
            [Postcode] => SW1A 2AA
            [Country] => GB
            [Telephone] => 01234 111222
        )

    [DeliveryAddress] => stdClass Object
        (
            [Name] => Recipient Name
            [Company] => Recipient Company
            [Address1] => Recipient Address
            [Address2] => 
            [Address3] => 
            [Town] => Recipient Town
            [County] => Recipient County
            [Postcode] => OX16 5EG
            [Country] => GB
            [Telephone] => 01234 888 999
        )

    [ParcelContents] => Some test item
    [EstimatedValue] => 100
    [Parcels] => Array
        (
            [0] => stdClass Object
                (
                    [Weight] => 10
                    [Dim1] => 20
                    [Dim2] => 30
                    [Dim3] => 40
                )

        )

)