As a shipper, change the status of all related and eligible bookings to CANCELLED
.
Successful Response
Bad Request
Unauthorized
Not Found
{- "identifiers": [
- {
- "type": "AIR_WAYBILL",
- "value": "string"
}
], - "routeInfo": {
- "stops": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "PICKUP",
- "arrivalDate": "2019-08-24",
- "arrivalAppointmentWindow": {
- "startTime": "14:15:22Z",
- "endTime": "14:15:22Z"
}, - "contacts": [
- {
- "companyName": "string",
- "givenName": "string",
- "familyName": "string",
- "phoneNumber": "string",
- "mobilePhoneNumber": "string",
- "email": "user@example.com"
}
], - "accessorials": [
- {
- "code": "REFRIGERATED",
- "details": {
- "min": 0,
- "max": 0,
- "unit": "CELSIUS"
}
}
], - "location": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "identifiers": [
- {
- "type": "EXTERNAL",
- "value": "string"
}
], - "address": {
- "postalCode": "string",
- "addressLines": [
- "str"
], - "city": "string",
- "state": "string",
- "country": "US"
}, - "geoCoordinates": {
- "latitude": -90,
- "longitude": -180
}
}
}, - {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "PICKUP",
- "arrivalDate": "2019-08-24",
- "arrivalAppointmentWindow": {
- "startTime": "14:15:22Z",
- "endTime": "14:15:22Z"
}, - "contacts": [
- {
- "companyName": "string",
- "givenName": "string",
- "familyName": "string",
- "phoneNumber": "string",
- "mobilePhoneNumber": "string",
- "email": "user@example.com"
}
], - "accessorials": [
- {
- "code": "REFRIGERATED",
- "details": {
- "min": 0,
- "max": 0,
- "unit": "CELSIUS"
}
}
], - "location": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "identifiers": [
- {
- "type": "EXTERNAL",
- "value": "string"
}
], - "address": {
- "postalCode": "string",
- "addressLines": [
- "str"
], - "city": "string",
- "state": "string",
- "country": "US"
}, - "geoCoordinates": {
- "latitude": -90,
- "longitude": -180
}
}
}
], - "routeSegments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "fromStopId": "257296aa-4e11-4168-b6a7-981b8b94815b",
- "toStopId": "5f1765b9-dde0-424e-963b-bb3b4e1d1d56"
}
]
}, - "attributes": [
- {
- "name": "string",
- "value": "string",
- "values": [
- "string"
]
}
], - "name": "string",
- "notes": "string",
- "bookings": [
- {
- "shipmentId": "47efd5a2-af91-4417-950a-7f546cd1b5cf",
- "attributes": [
- {
- "name": "string",
- "value": "string",
- "values": [
- "string"
]
}
], - "capacityProviderIdentifier": {
- "type": "SCAC",
- "value": "string"
}, - "carrierContacts": [
- {
- "companyName": "string",
- "givenName": "string",
- "familyName": "string",
- "phoneNumber": "string",
- "mobilePhoneNumber": "string",
- "email": "user@example.com"
}
], - "totalRate": {
- "currency": "USD",
- "amount": 0
}, - "rateIdentifiers": [
- {
- "source": "SYSTEM",
- "type": "SPOT_QUOTE",
- "value": "string"
}
], - "expirationDateTime": "2019-08-24T14:15:22Z",
- "routeSegmentIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "notes": "string",
- "shipmentDetails": [
- {
- "pickupStopId": "eff50f2a-8964-41f9-b45d-0a4f6f94e159",
- "deliveryStopId": "2ca57692-0523-4424-a638-167e5e26f7d3",
- "handlingUnits": {
- "details": [
- {
- "monetaryValue": null,
- "quantity": null,
- "handlingUnitType": null,
- "stackable": null,
- "dimensions": null,
- "weight": null
}
]
}, - "items": [
- {
- "description": "string",
- "identifiers": [
- null
], - "unitQuantity": 0,
- "unitType": "BAG"
}
], - "description": "string",
- "identifiers": [
- {
- "type": "AIR_WAYBILL",
- "value": "string"
}
], - "accessorials": [
- {
- "code": "REFRIGERATED",
- "details": {
- "min": null,
- "max": null,
- "unit": null
}
}
], - "loadId": "9fa4c9ea-0db7-4bb2-8f50-086d18a90403"
}
], - "apiConfiguration": {
- "bookingWebhookName": "string"
}, - "shipperContactInfo": {
- "companyName": "string",
- "givenName": "string",
- "familyName": "string",
- "phoneNumber": "string",
- "mobilePhoneNumber": "string",
- "email": "user@example.com"
}, - "shippingDetails": {
- "multipleDrivers": true,
- "truckDetails": {
- "truckDimensions": {
- "length": 0,
- "width": 0,
- "height": 0,
- "unitOfMeasure": "IN"
}, - "weight": 0,
- "weightUnitOfMeasure": "LB",
- "truckType": "AUTO_CARRIER"
}, - "hazmatDetails": {
- "hazardClasses": [
- "string"
]
}
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "status": "PROCESSING",
- "shipmentIdentifiers": [
- {
- "type": "AIR_WAYBILL",
- "value": "string"
}
], - "routeSegments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "fromStop": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "PICKUP",
- "arrivalDate": "2019-08-24",
- "arrivalAppointmentWindow": {
- "startTime": "14:15:22Z",
- "endTime": "14:15:22Z"
}, - "contacts": [
- {
- "companyName": null,
- "givenName": null,
- "familyName": null,
- "phoneNumber": null,
- "mobilePhoneNumber": null,
- "email": null
}
], - "accessorials": [
- {
- "code": null,
- "details": null
}
], - "location": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "identifiers": [
- null
], - "address": {
- "postalCode": null,
- "addressLines": [ ],
- "city": null,
- "state": null,
- "country": null
}, - "geoCoordinates": {
- "latitude": null,
- "longitude": null
}
}
}, - "toStop": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "PICKUP",
- "arrivalDate": "2019-08-24",
- "arrivalAppointmentWindow": {
- "startTime": "14:15:22Z",
- "endTime": "14:15:22Z"
}, - "contacts": [
- {
- "companyName": null,
- "givenName": null,
- "familyName": null,
- "phoneNumber": null,
- "mobilePhoneNumber": null,
- "email": null
}
], - "accessorials": [
- {
- "code": null,
- "details": null
}
], - "location": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "identifiers": [
- null
], - "address": {
- "postalCode": null,
- "addressLines": [ ],
- "city": null,
- "state": null,
- "country": null
}, - "geoCoordinates": {
- "latitude": null,
- "longitude": null
}
}
}
}
], - "rejectionReason": "COST_NOT_AGREED",
- "carrierResponseMethod": "EMAIL",
- "automatedFailureReason": "ERROR_CREDENTIALS",
- "bookingSourceMethod": "API",
- "carrierRejectionNotes": "string",
- "transportationMode": "OCEAN",
- "masterShipmentId": "2e04ec4a-749a-4ef4-a452-b7dc8cca16aa",
- "carrierProvidedIdentifiers": [
- {
- "type": "AIR_WAYBILL",
- "value": "string"
}
], - "createdDateTime": "2019-08-24T14:15:22Z",
- "lastModifiedDateTime": "2019-08-24T14:15:22Z"
}
], - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "createdDateTime": "2019-08-24T14:15:22Z",
- "lastModifiedDateTime": "2019-08-24T14:15:22Z"
}