Visibility - Receive Shipment Updates

The Receive Shipment Updates document is responsible for relaying shipment milestone data originating from your visibility provider's platform to your TMS.

NameDescription
RootChain.io schema for Visibility - Send Shipment Registration
ContainerA container that has milestone data to relay.
Milestone
LocationCodeThe location the event occurred at.
LocationA unique location.
UnLocodeA location representing a UN location code.
AirPortA location representing an airport.
AddressA location representing a street address.
CoordinateA location representing a latitude and longitude.
Coordinates
NameData TypeDescriptionRequired
tms_system_identifierStringThe 'primary key' uniquely identifying the shipment, consolidation, or container in the source TMS system. This value is registered with the visibility provider and should be included in all event updates.YES
milestonesArray<Milestone>All milestones that are applicable to the entire entity identified by the tms_system_identifier.
containersArray<Container>If supported by the visibility provider, a listing of all containers that are associated with the shipment milestones.
visibility_platform_urlStringA URL that can be used to access this shipment's visibility data on the provider's platform.
NameData TypeDescriptionRequired
container_numberStringThe container number
milestonesArray<Milestone>All milestones that are applicable to this specific container.
NameData TypeDescriptionRequired
event_codeStringA code identifying the type of milestone/event that is being reported.YES
event_descriptionStringA brief text description of the event_code.
timestampDateTimeThe timestamp the milestone/event occurred on.
estimated_timestampDateTimeThe timestamp the milestone/event occurred on.
locationLocation
location_codeLocationCode
NameData TypeDescriptionRequired
codeStringA code uniquely identifying the location.YES
descriptionStringA text description of the location code.
code_typeStringA code identifying the codeset used in the location_code. Allowed values: un_locode.YES
NameData TypeDescriptionRequired
NameData TypeDescriptionRequired
typeStringA location type identifier Allowed values: unlocode.YES
unlocodeStringThe UN/Locode identifier for the sea port.YES
unlocode_descriptionStringA free text description of the UN/Locode.
NameData TypeDescriptionRequired
typeStringA location type identifier Allowed values: airport.YES
iata_codeStringThe IATA airport location identifier.YES
iata_code_descriptionStringA free text description of the IATA Code.
NameData TypeDescriptionRequired
typeStringA location type identifier. Allowed values: address.YES
nameStringA name for the address. Typically the name of the business located at the address.
address_1StringThe address' street number and name.YES
address_2StringThe address' secondary address information.
cityStringThe address' city component.YES
country_subdivisionStringThe country specific subdivision code. This could represent a county, province, state, etc. In order to maximize interoperability, you should utilize the ISO 3166-2 country subdivision identifiers when providing this data.
countryStringThe address' 2 character ISO-3166-2 country Code.YES
postal_codeStringThe unique postal code identifier for the address.
unlocodeStringA UN/Locode identifier correlated with the address.
coordinatesCoordinates
NameData TypeDescriptionRequired
typeStringA location type identifier. Allowed values: coordinates.YES
nameStringA name for the location. Typically the name of the business at that location.
latitudeStringThe numeric coordinate specifying the north-south position of a point on the surface of the earth.YES
longitudeStringThe numeric coordinate specifying the east-west position of a point on the surface of the earth.YES
cityStringThe location's city component.
country_subdivisionStringThe country specific subdivision code. This could represent a county, province, state, etc. In order to maximize interoperability, you should utilize the ISO 3166-2 country subdivision identifiers when providing this data.
countryStringThe location's 2 character ISO-3166-2 country Code.
postal_codeStringThe unique postal code identifier for the location.
unlocodeStringA UN/Locode identifier correlated with the location.
NameData TypeDescriptionRequired
latitudeStringThe numeric coordinate specifying the north-south position of a point on the surface of the earth.YES
longitudeStringThe numeric coordinate specifying the east-west position of a point on the surface of the earth.YES