Request shipping rates
Things to note:
Shipments rates requested after 6 PM (GMT +1) will be scheduled for processing the following day.
You can only request a shipment for a maximum of 3 days from the current date of request.
The successful rate response will indicate which courier is the cheapest, fastest and best value for money, which is a combination of speed, price, and reliability.
A rate request token expires after 7 days of lookup.
For each courier rate returned, the value
rate_card_amount
is what you are meant to display or charge your customers whiletotal
is what will deducted from your Shipbubble wallet.Typically they are same amount but they become different in cases of you connecting your personal carrier accounts.
Both values are inclusive of VAT.
For your package items
Strive to be as accurate as possible when shipping! The more accurate your information is, the better the rate quote you will receive from the couriers.
Additionally, if the shipping information is incorrect, most carriers will follow up with a charge to make up the difference.
POST
https://api.shipbubble.com/v1/shipping/fetch_rates
Request Body
Name | Type | Description |
---|---|---|
sender_address_code* | int | address code of label pickup (gotten from Addresses API) |
reciever_address_code* | int | address code of label pickup (gotten from Addresses API) |
pickup_date* | string | specified date for shipment processing(format: "yyyy-mm-dd") |
category_id* | int | package item category |
package_items* | Array | An array of items to be shipped, a sample package item object looks like |
service_type | string | filter rates by their service types ex. dropoff or pickup |
delivery_instructions | string | additional delivery instructions for package |
package_dimension* | Object | Dimension pf package to be delivered (in CM), if you are not sure of your dimension, you can make use of the Package Dimensions API { "length":12, "width":10, "height":10 } |
There are currently two types of service delivery types, pickup, and dropoff.
If a service type is marked as pickup, it means the selected courier would pickup the package at the sender's address and deliver it to the receiver's address
If a service type is marked as dropoff, it means that the sender must deliver the package to a courier dropoff station. In this case, a dropoff station and pickup station object will be included in the response. it will contain the name and address of the dropoff station.
Check the example response for object definition
Last updated