Transport
Shipment Data

Shipment

messageType: transport.shipment

Get shipment data from Cargo Partner.

The sample files provided are based on real world shipments where parties and references have been changed for privacy reasons.

You can also get into contact with our Integration Competence Center and we will provide you with real examples based on your shipments

Sample files:

{
	"messageHeader": {...},
	"Shipment": {...}
}

.

PropertyTypeMandatoryDescription
messageHeaderMessageHeaderMMessage Header information.
ShipmentShipmentMShipment information

GET Shipment


"...": {
  "cargoDescriptions": [{...}],
  "containerDefinition": {...},
  "events": [{...}],
  "mainCategory": "FCL",
  "mainModality": "AIR",
  "shipmentStatus": "CARGO_EXPECTED_FOR_TRANSPORT",
  "participants": {...},
  "routingInformation": {...},
  "shipmentDetails": {...},
  "trackingId": "string"
}

PropertyTypeMandatoryDescription
cargoDescriptionsArray[CargoDescription]MTransport cargo description. For FCL/REEFER per container.
containerDefinitionContainerDefinitionCAvailable for SEA FCL/REEFER.
eventsArray[Event]MList of transport events
mainCategoryStringCValid values for ROAD: FTL, LTL, GROUPAGE Valid values for SEA: FCL, LCL, REEFER. Not available for AIR
mainModalityStringMModality of transport. Values: AIR, ROAD, SEA, AIR_SEA, SEA_AIR
shipmentStatusStringOInformation about the shipment status. Values: CARGO_EXPECTED_FOR_TRANSPORT, CARGO_READY_FOR_TRANSPORT, PICKED_UP, DEPARTED, ARRIVED, DELIVERED.
participantsShipmentParticipantsMParties participating in a transport
routingInformationShipmentRoutingInformationMInformation about shipment routing
shipmentDetailsShipmentDetailsMAdditional shipment details
trackingIdStringMSPOT Shipment tracking ID. (SPOT ID)

ShipmentParticipants


"...": {
	"airHub": {...},
	"consignee": {...},
	"controllingAgent": {...},
	"delivery": {...},
	"destinationAgent": {...},
	"destinationHub": {...},
	"destinationWarehouse": {...},
	"exportCustomsBroker": {...},
	"exportConsolidationHub": {...},
	"importCustomsBroker": {...},
	"exportDeconsolidationHub": {...},
	"mainInvoiceTo": {...},
	"notifyAgent": {...},
	"originAgent": {...},
	"originHub": {...},
	"originWarehouse": {...},
	"pickup": {...},
	"principal": {...},
	"seaHub": {...},
	"shipper": {...},
	"shippersTradingCompany": {...},
	"thirdParties": [{...}],
	"transitHubs": [{...}]
}

PropertyTypeMandatoryDescription
airHubPartyO
consigneePartyM
controllingAgentPartyMOffice in charge of transport.
deliveryPartyCDelivery location. Not available if shipperSelfDelivery is true.
destinationAgentPartyONot available if mainModality is ROAD.
destinationHubPartyCOnly available if mainModality is ROAD and mainCategory is GROUPAGE.
destinationWarehousePartyO
exportCustomsBrokerPartyO
exportConsolidationHubPartyO
importCustomsBrokerPartyO
importDeconsolidationHubPartyO
mainInvoiceToPartyMParty which will be invoiced.
notifyAgentPartyO
originAgentPartyONot available if mainModality is ROAD.
originHubPartyCOnly available if mainModality is ROAD and mainCategory is GROUPAGE.
originWarehousePartyO
pickupPartyCPickup location. Not available if consigneeSelfPickup is true.
principalPartyMOwner of the transport order.
seaHubPartyO
shipperPartyM
shippersTradingCompanyPartyO
thirdPartiesArray[Party]O
transitHubsArray[Party]O

To following parties are only visible for agents:

  • airHub
  • seaHub
  • transitHubs
  • exportConsolidationHub
  • importDeconsolidationHub

ShipmentRoutingInformation


"...": {
	"delivery": {...},
	"pickup": {...},
	"routingPoints": [{...}]
}

PropertyTypeMandatoryDescription
pickupShipmentRoutingPointPickupMInformation to pickup
routingPointsArray[ShipmentRoutingPoint]OInformation to routing points between Pickup and Delivery (e.g. Port of loading, Port of discharge, ...)
deliveryShipmentRoutingPointDeliveryMInformation to delivery

ShipmentRoutingPoint


"...": {
	"city": "string",
	"countryCode": "string",
	"estimatedArrival": {...},
	"estimatedDeparture": {...},
	"iataCode": "string",
	"legModality": "SEA_FCL",
	"realArrival": {...},
	"realDeparture": {...},
	"remark": "string",
	"routingPointType": "PICKUP",
	"unlocode": "string",
	"zipCode": "string"
}

PropertyTypeMandatoryDescription
remarkStringO
routingPointTypeStringMValid values: EXPORT_CONSOLIDATION_HUB, ORIGIN_WAREHOUSE, DEPARTURE_AIRPORT, PORT_OF_LOADING, TRANSIT_HUB, ORIGIN_HUB, SEA_HUB, AIR_HUB, DESTINATION_HUB, ARRIVAL_AIRPORT, PORT_OF_DISCHARGE, IMPORT_DECONSOLIDATION_HUB, DESTINATION_WAREHOUSE, FINAL_DESTINATION, UNASSIGNED_HUB
legModalityStringOIf specified, shows transport modality between this and the next routing point.
countryCodeStringCRouting point location ISO country code (ISO 3166-1 Alpha-2)
cityStringCRouting point location city
zipCodeStringCRouting point location zipCode
iataCodeStringC3-letter IATA location code of routing point.
unlocodeStringC5-letter UnLocode location of routing point.
estimatedArrivalApiDateOEstimated arrival at specified routing location.
realArrivalApiDateOActual arrival at specified routing location.
estimatedDepartureApiDateOEstimated departure from specified routing location.
realDepartureApiDateOActual departure from specified routing location.

To following routing point types are only visible for agents:

  • EXPORT_CONSOLIDATION_HUB
  • TRANSIT_HUB
  • ORIGIN_HUB
  • SEA_HUB
  • AIR_HUB
  • DESTINATION_HUB
  • IMPORT_DECONSOLIDATION_HUB
  • UNASSIGNED_HUB

ShipmentRoutingPointPickup


"...": {
  "city": "string",
  "countryCode": "string",
  "desiredPickup": {...},
  "estimatedCargoReadiness": {...},
  "estimatedPickup": {...},
  "iataCode": "string",
  "legModality": "SEA_FCL",
  "realCargoReadiness": {...},
  "realPickup": {...},
  "remark": "string",
  "routingPointType": "PICKUP",
  "shipperSelfDelivery": true,
  "unlocode": "string",
  "zipCode": "string"
}

PropertyTypeMandatoryDescription
remarkStringO
routingPointTypeStringMValid values: PICKUP, PLACE_OF_RECEIPT
legModalityStringOIf specified, shows transport modality between this and the next routing point.
countryCodeStringCRouting point location ISO country code (ISO 3166-1 Alpha-2)
cityStringCRouting point location city
zipCodeStringORouting point location zipCode
iataCodeStringC3-letter IATA location code of routing point.
unlocodeStringC5-letter UnLocode location of routing point.
estimatedCargoReadinessApiDateMEstimated date when cargo will be ready for transport.
realCargoReadinessApiDateOActual date when cargo was ready for transport.
estimatedPickupApiDateOEstimated date when cargo will be picked up.
realPickupApiDateOActual date when cargo was picked up.
desiredPickupApiDateFromToOTime frame of desired pickup of cargo.
shipperSelfDeliveryBooleanO

ShipmentRoutingPointDelivery


"...": {
  "city": "string",
  "consigneeSelfPickup": true,
  "countryCode": "string",
  "desiredDelivery": {...},
  "estimatedDelivery": {...},
  "iataCode": "string",
  "legModality": "SEA_FCL",
  "realDelivery": {...},
  "remark": "string",
  "routingPointType": "PICKUP",
  "unlocode": "string",
  "zipCode": "string"
}
PropertyTypeMandatoryDescription
remarkStringO
routingPointTypeStringMValid values: PLACE_OF_HANDOVER, DELIVERY
legModalityStringOIf specified, shows transport modality between this and the next routing point.
countryCodeStringCRouting point location ISO country code (ISO 3166-1 Alpha-2)
cityStringCRouting point location city
zipCodeStringCRouting point location zipCode
iataCodeStringC3-letter IATA location code of routing point.
unlocodeStringC5-letter UnLocode location of routing point.
consigneeSelfPickupBooleanO
estimatedDeliveryApiDateOEstimated date when cargo will be delivered.
realDeliveryApiDateOActual date when cargo was delivered.
desiredDeliveryApiDateFromToOTime frame of desired delivery of cargo.

ShipmentDetails


"...": {
    "deliveryTerm": {...},
    "electronicFreight": "string",
    "hblOriginalRequired": true,
    "insurance": {...},
    "paymentDefinition": {...},
    "references": [{...}],
    "serviceSpecification": {...},
    "shipmentTransportDetails": {...}
}
PropertyTypeMandatoryDescription
deliveryTermDeliveryTermMIncoTerm and Location
electronicFreightStringO
hblOriginalRequiredBooleanO
insuranceInsuranceOInsurance details
paymentDefinitionPaymentDefinitionOPayment information
referencesArray[TransportOrderReference]OShipment references
serviceSpecificationServiceSpecificationOAdditional transport services
shipmentTransportDetailsShipmentTransportDetailsOAdditional transport details

ShipmentTransportDetails

"...": {
  "carrierContractNumber": "string",
  "flightNumbers": ["string"],
  "hawb": "string",
  "hbl": "string",
  "mawb": "string",
  "mbl": "string",
  "oceanCarrier": {...},
  "plateNumbers": ["string"],
  "roadCarrier": "string",
  "vesselName": "string",
  "voyageNumber": "string"
}
PropertyTypeMandatoryDescription
carrierContractNumberStringO
flightNumbersArray[String]O
mblStringOMaster-BoL number
hblStringOHouse-BoL number
mawbStringOMaster-AWB number
hawbStringOHouse-AWB number
oceanCarrierOceanCarrierOInformation about ocean carrier
plateNumbersArray[String]OTruck plate numbers
roadCarrierStringOName of road carrier
vesselNameStringOName of carrier vessel
voyageNumberStringOVessel voyage number