Search Help Contents:

 


 

Topics

Home

Getting Started

Data Types

Event Codes & References

Error Codes

Best Practices

Notifications

Version Policy

API Calls

  POST /oauth2/token

  GET /health

  Shipments

  Containers

     GET containers

    GET containers/{id}

    GET containers/{id}/events

    GET containers/{id}/lines

   GET containers/exactmatch

  OM Containers

  Consignments and Cross-Dock

 

GET containers/{id}/events

 

Get a list of events for a container with a given identifier.

 

Example HTTP Request

GET tracking/v2/containers/5555/events?sizeLimit=1000&offset=0

Authorization: Ejr2YotnFZFEjr1zCsicMWpAAotnFZFEjr1zCsic

X-Consumer-ID: TEST_CONSUMER_ID

X-Consumer-Custom-ID: TEST_CUSTOM_CONSUMER_ID

Host: api.expeditors.com

 

Example Curl Request

$ curl 'https://api.expeditors.com/tracking/v2/containers /5555/events?sizeLimit=1000&offset=0' -i -X GET \

    -H 'Authorization: Ejr2YotnFZFEjr1zCsicMWpAAotnFZFEjr1zCsic' \

    -H 'X-Consumer-ID: TEST_CONSUMER_ID' \

    -H 'X-Consumer-Custom-ID: TEST_CUSTOM_CONSUMER_ID'

  

Parameters

Parameter Purpose Values

Required?

id Identifier for container    

sizeLimit

Maximum number of items to return from matching results Integer, 1 to 100000 N (default is 1000)
offset Start index into matching results for returned items. Increment by sizeLimit to return the next page of results. Integer, 0 to 100000 N (default is 0)

 

 

Response

The response format is JSON; see Data Types - Container Event for data types.

 

Example Response

{

  "instanceNo" : "123",

  "code": "COB",

  "description" : "Confirmed on Board",

  "time" : "2024-08-19T16:55:00Z",

  "origin" : {

    "name" : "YANTIAN",

    "code" : "YAN"

  },

  "destination" : {

    "name" : "LONG BEACH, CA",

    "code" : "LGB"

  }

},

© 2024 Expeditors International of Washington, Inc.  

All information contained herein is business confidential and proprietary and may not be reproduced in any form without advanced

written consent of an authorized officer of the copyright holder.

 

EULA - End User License Agreement