API

Add order API call
{
"Auth": {
"user_name" : "6a86f83ced4adfe58017a3e77ab6e2b2",
"user_password" : "7a6b7b203cb36d4cd1678d3bdf6b0b7d"
},
"from": {
"companyName": "Requesting Company Name",
"streetAddress": "9601 95 Ave, Peace River, AB, Canada",
"streetAddress2": "",
"city": "Peace River",
"countryCode": "CA",
"state": "AB",
"postalCode": "T8S 1H9",
"attention": "Scott Jameson",
"email": "sender@gmail.com",
"phone": "xxx xxx xxxx",
"instructions": "Pickup at yard ",
"residential": "False",
"notify": "True"
},
"to": {
"companyName": "Reciever Company or Person name",
"streetAddress": "5109 40 St, High Prairie, AB, Canada",
"streetAddress2": "",
"city": "High Prairie",
"countryCode": "CA",
"state": "AB",
"postalCode": "T0G 1E0",
"attention": "Mo",
"email": "mo@courier-connex.com",
"phone": "4162751386",
"instructions": "Call 10 minutes before arrival and walk to back door",
"residential": "True",
"notify": true
},
"packageType": "PACKAGE",
"lineItems": [
{
"length": "12",
"width": "12",
"height": "12",
"weight": "5",
"count" : "2"
"declaredValue": {
"currency": "CAD",
"amount": "100"
},
"description": "Fragile, handle with care"
},
{
"length": "20",
"width": "20",
"height": "20",
"weight": "25",
"count" : "1"
"declaredValue": {
"currency": "CAD",
"amount": "650"
},
"description": "Requires a Dolly"
}
],
"unitOfMeasurement": "IMPERIAL",
"serviceOptions": [
"Regular"
],
"shipDate": "2018-05-15T13:20:09.260Z",
"customsInvoice": {
"invoiceContact": {
"companyName": "string",
"streetAddress": "string",
"streetAddress2": "string",
"city": "string",
"countryCode": "string",
"state": "string",
"postalCode": "string",
"attention": "string",
"email": "string",
"phone": "string",
"instructions": "string",
"residential": true,
"notify": true,
"customsBroker": "string",
"shipperTaxId": "string"
},
"dutiesAndTaxes": {
"dutiable": true,
"paidBy": "Creator"
},
"currency": "CAD",
"invoiceItems": [
{
"quantity": "0",
"code": "string",
"description": "string",
"origin": "string",
"unitPrice": 0
}
]
},
"insuranceType": "Standard"
}