This API is used to make a bookings and collection requests on the ParcelBroker system. This API can be used for single shipments, multi-parcel bookings or pallet collections.
Please note the all data needs to be UTF-8 encoded. So for example the string
<line1>Ågatan 11</line1>should be
The Schema for this API can be downloaded here: Download Booking Schema.
Element Req Description
Yes Holder for header element.
Yes This is the APIKey as provided by ParcelBroker.
Yes This is your Public Key that use use to create the <token> value.
Yes SHA1 hash of "SharedSecret_PublicKey".
Yes A unique ID for every successful request. Duplicate requests with the same ID will be rejected.
Yes Holder for shipment element.
No Indicates that this order is a test order.
Yes The rate ID as obtained from the Rates API.
Yes Hash for this service as obtained from the Rates API.
Yes Your reference for this shipment.
Yes Description of shipment contents.
Yes The estimated value of the shipment in GBP.
Yes Whether liability is required. If true then 2% of estvalue will be added your order.
Yes Possible values are DOCUMENT, PARCEL, PALLET.
Yes Holder for collection address.
Yes The collection persons name.
Yes The collection company (if applicable).
Yes The collection phone number.
No The collection email address.
Yes The collection address line 1.
Yes The collection address line 2.
Yes The collection address line 3.
Yes The collection town/city.
Yes The collection county/state.
Yes The collection postcode.
Yes The collection country code. Please click here for country codes.
Yes Holder for destination address.
Yes The destination persons name.
Yes The destination company (if applicable).
Yes The destination phone number.
No The destination email address.
Yes The destination address line 1.
Yes The destination address line 2.
Yes The destination address line 3.
Yes The destination town/city.
Yes The destination county/state.
Yes The destination postcode.
Yes The destination country code. Please click here for country codes.
Yes Holder for parcels.
Yes Holder for a parcel (Can have more than 1).
Yes The weight in KG.
Yes The length in CM.
Yes The width in CM.
Yes The height in CM.
Yes This indicates the main type of outer packaging, valid values are CARD, METAL, PLASTIC, OTHER.
Yes Holder for pick up type and details. Can be one of the following:.
Choice To request a collection from the carrier on the specified date. Format is YYYY-MM-DD
Choice If the customer is going to drop the shipment at a local service point.
Choice If the booking should be added to other collections already requested today. This is dependant on the cut off times as obtained via Rates API and whether the driver has already collected from the premises.
Choice If the customer has a daily collection, this shipment will be added to their next collection.
Yes/No Holder for customs.
Yes/No Can be either PROFORMA or COMMERCIAL.
Yes/No Senders VAT/EORI Number (if applicable).
Yes/No The receivers VAT or Personal ID number.
For Gilbrator and Canary Islands this is known as the recipients CIF (Certificado de Identificación Fiscal) or NIF (Número de Identificación Fiscal) For Brazil this is known as the recipients Tax ID number (for companies) or CPF number (for individuals). For Norway this is known as the recipients VAT number (for companies) or Personal ID number (for individuals)
Yes/No This is the two letter country code that identifies the Country of Manufacture (CoM). For items that have multiple countries please use XX
Yes/No The main reason for export. Can be any of the following values: SALE, GIFT, PERSONAL, DOCUMENTS, SAMPLE, REPAIR, REPLACEMENT, STOCK
Yes/No Holder for detailed description of contents.
Yes/No For each type of item/product in the shipment a new content element should be included. <description> Yes/No A description of the contents. <quantity> Yes/No The item quantity. <value> Yes/No The individual quantity value in 0.00 format.
No The output format for the labels. Valid values are A4 or THERMAL. Default is A4 as some carrier do not have thermal compatible variations.
The Success response status returns an order number along with the final cost, including all surcharges and additional items:
Holder for service element.
This is the order number for this booking.
This is the net cost of the order.
This is the tax for this order.