Here is an example for a booking call for a van or truck.
curl --request POST \
--url https://api.cargoboard.com/v1/orders \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: YOUR KEY HERE' \
--data '
{
"product": "DIRECT",
"shipper":
{
"name": "Mustermann GmbH",
"address":
{
"street": "Ostrstr. 24",
"countryCode": "DE",
"postCode": "58553",
"city": "Halver"
},
"pickupOn": "2022-02-02",
"wantsTailLiftTruck": false
},
"consignee":
{
"name": "Fabian MΓΌller",
"address":
{
"street": "Hofstetterstr.4 ",
"countryCode": "DE",
"postCode": "85137",
"city": "Walting"
},
"wantsTailLiftTruck": false
},
"lines":
[
{
"unitQuantity": 1,
"unitPackageType": "DIRECT_TRUCK_7_5",
"unitLength": 610,
"unitWidth": 240,
"unitHeight": 240,
"unitWeight": 2500,
"content": "",
"isStackable": false
}
]
}
'