POST /v.1.0/shipments
Authorization: Bearer {token}
Content-Type: application/json
{
"status": "ReadyToShip",
"payerType": "Sender",
"services": [
{
"serviceCode": "AllowedInspection"
}
],
"parcels": [
{
"cargoCategory": "documents",
"rowNumber": 1,
"insuranceCost": "15.00",
"width": 250,
"length": 350,
"height": 20,
"actualWeight": 1000
}
],
"sender": {
"name": "Sender Name",
"phone": "373XXXXXXXX",
"countryCode": "MD",
"settlementId": 123,
"divisionId": 456
},
"recipient": {
"name": "Recipient Name",
"phone": "373XXXXXXXX",
"countryCode": "MD",
"settlementId": 123,
"divisionId": 789
}
}