Support Portal

Welcome
Login

Shipment/events/:id

This endpoint allows you to retrieve all events for a given shipment inside your Seven Senders account.

Endpoint

Url: https://api.sevensenders.com/v2/docs.html#/ShipmentEvent/postShipmentEventCollection

Headers

Parameter
Mandatory
Description
API-KEY
YES
Your authorization key to access Seven Senders API

Methods

GET

Request

Curl example

curl -X "GET" -H "Accept:\ application/json" -H "Content-type:\ application/x-www-form-urlencoded" -H "API-KEY:\ <API-KEY>" http://api.sevensenders.com/v2/shipment/events/123456789.json

Response

The API will respond with an array of events, each element inside the array has the following properties

Field
Type
Example
Description
event
string
"First Scan at LMC"
The name of the event
description
string
"The parcel has been scanned for the first time at the Last Mile Carrier"
Description that help you understand what the event means
creationDate
string
"2017-11-21T19:40:36+0000"
Date and time when this event was generated

You can find the list of all shipment events that can occur via our Seven Senders events documentation.

Response

Response to a GET shipments/:id call

[{
  "event": "New",
  "description": "New",
  "creationDate": "2017-11-21T16:40:15+0000"
}, {
  "event": "Info",
  "description": "Info",
  "creationDate": "2017-11-21T17:12:00+0000"
}, {
  "event": "Pickup",
  "description": "Pickup",
  "creationDate": "2017-11-21T13:00:00+0000"
}, {
  "event": "Hub scan at LMC",
  "description": "Hub scan at LMC",
  "creationDate": "2017-11-21T18:53:00+0000"
}, {
  "event": "First Scan at LMC",
  "description": "The parcel has been scanned for the first time at the Last Mile Carrier",
  "creationDate": "2017-11-21T19:40:36+0000"
}, {
  "event": "Out for delivery",
  "description": "Out for delivery",
  "creationDate": "2017-11-22T07:49:00+0000"
}, {
  "event": "Delivered",
  "description": "Delivered",
  "creationDate": "2017-11-22T13:15:00+0000"
}]