curl -i -X POST \
https://na12.api.project44.com/api/v4/parcel/shipments \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"apiConfiguration": {
"fallBackToDefaultAccountGroup": true
},
"capacityProviderAccountGroup": {
"accounts": [
{
"code": "string"
}
],
"code": "string"
},
"id": 0,
"masterShipmentId": "2e04ec4a-749a-4ef4-a452-b7dc8cca16aa",
"parcelLegId": "1e90839f-77bf-4c7b-bf18-95a33ad4ed86",
"shipmentAttributes": [
{
"name": "string",
"values": [
"string"
]
}
],
"shipmentIdentifiers": [
{
"type": "TRACKING_NUMBER",
"value": "string"
}
],
"shipmentStops": [
{
"appointmentWindow": {
"endDateTime": "2019-08-24T14:15:22Z",
"localTimeZoneIdentifier": "string",
"startDateTime": "2019-08-24T14:15:22Z"
},
"id": 0,
"location": {
"address": {
"addressLines": [
"string"
],
"city": "string",
"country": "US",
"postalCode": "string",
"state": "string"
},
"contact": {
"companyName": "string",
"contactName": "string",
"email": "string",
"faxNumber": "string",
"faxNumberCountryCode": "string",
"phoneNumber": "string",
"phoneNumber2": "string",
"phoneNumber2CountryCode": "string",
"phoneNumberCountryCode": "string"
},
"geoCoordinates": {
"latitude": 0.1,
"longitude": 0.1
}
},
"parcelShipmentStopType": "ORIGIN"
}
]
}'