List Quotes
POST /quotes
Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ”Example
APP_TOKEN
Request Body
Section titled “Request Body ”object
object
Recipient first name, populated from the Veeqo order.
Recipient last name.
Recipient company name.
First line of the recipient address.
Second line of the recipient address.
Recipient city.
Country code for the recipent address in ISO 3166-1 alpha-2 format.
Recipient state or county.
Zip/Post Code of the recipient address.
Populated from the shipping address or if empty, the billing address.
Populated from the shipping address or if empty, the billing address.
The Veeqo location the shipment will be dispatched from.
object
The location name.
First line of the collection address.
Second line of the collection address.
The collection address city.
The collection address state or county.
The collection address country, in ISO 3166-1 alpha-2 format.
ZIP/Post code of the collection address.
object
HS Code of the item, used when the item is shipped internationally.
Country of origin of the product.
Order value of the product.
Value of the product, minus discounts.
Weight of one instance of the product.
object
object
Total sales price of the shipment.
Veeqo order number for the shipment.
The 3 letter ISO 4217 currency code all shipment prices are in.
Delivery cost paid by the end customer.
Example
{ "destination_address": { "first_name": "Derek", "last_name": "Trotter", "company": "Trotters Independent Traders", "city": "Peckham", "country": "GB", "state": "", "zip": "SE15 2EB", "phone": "07758989787", "email": "<sales@trotters.com>", "line_1": "80 Nelson Mandella House", "line_2": "Nyrere Estate" }, "collection_address": { "name": "Nags Head", "line_1": "Nags Head, Chapel Market", "line_2": "", "city": "Peckham", "country": "GB", "phone": "02893243309", "zip": "N1 ORW", "state": "" }, "contents": [ { "description": "Ifone 9s", "quantity": 1, "tariff_number": "505050", "origin_country": "GB", "price_per_unit": 250, "total_sale_price": 250, "weight_in_grams": 455 } ], "parcels": [ { "dimensions": { "height": 15, "width": 22, "length": 10, "unit": "cm" }, "weight_in_grams": 50 } ], "total_price": 253, "reference": "#P-217", "currency_code": "USD", "delivery_cost": 3}
Responses
Section titled “ Responses ”Successfully fetched rates.
object
Code to identify the given quote when shipping.
Service name for the quote, displayable in Veeqo.
Price that will be charged for the service.
The 3 letter currency code in ISO 4217 format that the service price is in.
Specify if the service requires a collection or dropoff.
The estimated delivery date time in ISO 8601 format.
Carrier name for the quote. This value will be passed onto external marketplaces if the service has been selected for shipment.
Example
[ { "code": "next_day", "name": "Next Day", "price": 4.1, "currency": "USD", "service_type": "collection", "delivery_estimate": "2020-10-14T13:11:32.141Z" }, { "code": "two_day", "name": "Two Day", "price": 2.48, "currency": "USD", "service_type": "collection", "delivery_estimate": "2020-10-15T13:11:32.142Z" }, { "code": "one_day_dropoff", "name": "One Day", "price": 4.05, "currency": "USD", "service_type": "dropoff", "delivery_estimate": "2020-10-14T13:11:32.142Z" }]
Headers
Section titled “Headers ”Example
APP_TOKEN
Bad Request
object
Array of strings detailing errors related to showing quotes.
Example
{ "errors": [ "Post code invalid", "Shipment weight cannot be 0" ]}