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

    GET shipments

    GET shipments/count

    GET shipments/{id}

    GET shipments/{id}/address_information

   GET shipments/{id}/documents

    GET shipments/{id}/documents/{documentId}/download

    GET shipments/{id}/events

    GET shipments/{id}/references

    GET shipments/exactmatch

  Containers

  OM Containers

  Consignments and Cross-Dock

 

GET shipments/count

 

Get a count of shipments; if no reference value is specified, the count returned is for all shipments. If a reference value is specified, the count returned is for only shipments with trace values matching the reference.

 

Example Request

GET tracking/v2/shipments/count?ref=5555

Host: api.expeditors.com

User_Agent: HTTPie/0.9.9

Authorization: Bearer Ejr2YotnFZFEjr1zCsicMWpAAotnFZFEjr1zCsic

 

Headers

Header Purpose Values

Required?

Authorization Provide bearer token Bearer "{token}"

Y

 

Parameters

Parameter Purpose Values

Required?

ref Value to match against shipment reference strings URL-encoded string, 3 to 12 characters

N

 

 

Response

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

 

Example Result

200 OK

Content-Type: application/json

Cache-Control: no -store

Pragma: no-cache

 

{ "total": 25 }

© 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