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}/lines

 

Get a list of items in a container with the given identifier.

 

Example HTTP Request

GET tracking/v2/containers/5555/lines?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/lines?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 - Line for data types.

 

Example Response

200 OK

Content-Type: application/json

Content-Length: 419

[ {

  "instanceNo" : "123",

  "shipmentNumber" : "55555555",

  "billOfLadingNumber" : "456",

  "loadSequence" : "0",

  "position" : "H8-I9",

  "quantity" : {

    "value" : "30.00",

    "units" : "PCS"

  },

  "packages" : {

    "value" : "914",

    "units" : "PKGS"

  },

  "weight" : {

    "value" : "8445.0",

    "units" : "K"

  },

  "volume" : {

    "value" : "75.440",

    "units" : "M3"

  }

} ]

© 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