Start tracking a container, bill of lading, or booking

Changed on
post/v1/containers

Request

  • Base URL
    https://api.trackingmcp.com
  • Auth
    HTTP bearer

Request body

object required
identifier, string required
identifier_type, 'container_id' | 'bill_of_lading' | 'booking' required
carrier_code, string

Optional SCAC hint; auto-resolved from the container prefix when omitted.

tags, string[]
tracked_from, string date-time

Journey floor for a re-used container number (ISO 8601 date or date-time). Events dated before it are dropped from derivation and the timeline, so a container reused on a new booking scopes to the current sailing instead of a delivered prior journey. Applies to container-number registrations; bill_of_lading and booking references already pin the journey and ignore it.

bl_number, string

Bill of lading number sent with a container identifier. Required when carrier_code names a line that tracks only by the bill of lading and the container number together (JJCU, Shanghai Jinjiang); ignored for every other line.

container_number, string

Container number (4 letters and 7 digits) sent with a bill_of_lading or booking identifier. Required when carrier_code names a line that tracks only by the bill of lading and the container number together (JJCU, Shanghai Jinjiang); ignored for every other line.

Response

The reference is already tracked by this account. Nothing new was registered; the answer says what the repeat changed.

object required
api_version, string

The response contract this build answers, as a date (YYYY-MM-DD). Added to every JSON object body on /v1.

ok, true
data, object
warning, string

A caution about the line named or about leftover data. Optional.

Changes

    • info

      added the optional property data/other_trip to the response with the status

    • warning

      added the new HLCU enum value to the carrier_notice/carrier_code response property for the response status

    • warning

      added the new HLCU enum value to the carrier_notice/carrier_code response property for the response status

    28 more changes in this revision