curl --location --request POST 'URL' \
--header 'Authorization: HIDDEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"services": [],
"excluded_services": [],
"details": {
"origin": {
"name": "String",
"address": {
"address_line_1": "String",
"address_line_2": "String",
"unit_number": "",
"city": "String",
"region": "String",
"country": "String",
"postal_code": "String"
},
"residential": false,
"tailgate_required": false,
"instructions": "Nothing",
"contact_name": "String",
"phone_number": {
"number": "5555555555",
"extension": "555"
}
},
"destination": {
"name": "String",
"address": {
"address_line_1": "String",
"address_line_2": "String",
"unit_number": "",
"city": "String",
"region": "String",
"country": "String",
"postal_code": "String"
},
"residential": true,
"tailgate_required": false,
"instructions": "String",
"contact_name": "String",
"phone_number": {
"number": "5555555555",
"extension": "555"
},
"signature_requirement": "not-required"
},
"packaging_type": "package",
"packaging_properties": {
"packages": [
{
"measurements": {
"weight": {
"unit": "lb",
"value": 5
},
"cuboid": {
"unit": "in",
"l": 5,
"w": 5,
"h": 5
} },
"description": "Test description",
"special_handling_required": false
}
],
"includes_return_label": false,
"has_dangerous_goods": false
},
"expected_ship_date": {
"year": 2023,
"month": 3,
"day": 16
}
}
}'
{
"unique_id": "string",
"payment_method_id": "string",
"service_id": "string",
"details": {
"origin": {
"name": "string",
"address": {
"address_line_1": "string",
"address_line_2": "string",
"unit_number": "string",
"city": "string",
"region": "string",
"country": "string",
"postal_code": "string"
},
"residential": true,
"tailgate_required": true,
"instructions": "string",
"contact_name": "string",
"phone_number": {
"number": "5555555555",
"extension": "555"
},
"email_addresses": [
"user@example.com"
]
},
"destination": {
"name": "string",
"address": {
"address_line_1": "string",
"address_line_2": "string",
"unit_number": "string",
"city": "string",
"region": "string",
"country": "string",
"postal_code": "string"
},
"residential": true,
"tailgate_required": true,
"instructions": "string",
"contact_name": "string",
"phone_number": {
"number": "5555555555",
"extension": "555"
},
"email_addresses": [
"user@example.com"
],
"ready_at": {
"hour": 15,
"minute": 6
},
"ready_until": {
"hour": 15,
"minute": 6
},
"signature_requirement": "not-required"
},
"expected_ship_date": {
"year": 2006,
"month": 6,
"day": 7
},
"packaging_type": "pallet",
"packaging_properties": {
"pallet_type": "ltl",
"has_stackable_pallets": true,
<End of Sample>
{
"events": [
{
"type": "label-created",
"when": "string",
"where": {
"city": "string",
"region": "string",
"country": "string"
},
"message": "string"
}
]
}
[
{
"id": "string",
"type": "string",
"number": "string",
"date": {
"year": 2006,
"month": 6,
"day": 7
},
"due_date": {
"year": 2006,
"month": 6,
"day": 7
},
"amount": {
"currency": "CAD",
"value": "4250"
},
"owing": {
"currency": "CAD",
"value": "4250"
},
"urls": {},
"payments": [
{
"id": "string",
"type": "string",
"amount": {
"currency": "CAD",
"value": "4250"
},
"data": {
"credit_card_auth": "string",
"credit_card_number": "string",
"credit_card_reference": "string"
}
}
],
"line_items": [
{
"id": "string",
"type": "base",
"sub_type": "string",
"payment_id": "string",
"amount": {
"currency": "CAD",
"value": "4250"
},
"message": "string"
}
]
}
]
{
"carrier_id": "string",
"manifest_data": {
"tracking_numbers": [
"string"
],
"manifest_date": {
"year": 2006,
"month": 6,
"day": 7
},
"origin_postal_code": "string"
}
}