Create Shipment
POST /shipments
POST
/shipments
Shipments are created with the same attributes as quotes, with the addition of service_code
which is the chosen
shipping service by a Veeqo user.
Parameters
Header Parameters
Authentication
string
E.g. “APP_TOKEN”
Example
"APP_TOKEN"
Request Body
object
destination_address
object
first_name
string
last_name
string
company
string
city
string
country
string
state
string
zip
string
phone
string
email
string
line_1
string
line_2
string
collection_address
object
name
string
line_1
string
line_2
string
city
string
country
string
phone
string
zip
string
state
string
contents
Array<object>
object
description
string
quantity
number
tariff_number
string
origin_country
string
price_per_unit
number
total_sale_price
number
weight_in_grams
number
parcels
Array<object>
object
dimensions
object
height
number
width
number
length
number
unit
string
weight_in_grams
number
total_price
number
reference
string
currency_code
string
delivery_cost
number
service_code
string
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, "service_code": "next_day"}
Responses
201
Created
400
Bad Request