Example event object
{
"object": "event",
"id": 849927739,
"happened_at": 1530170040,
"event_type_code": "out_for_delivery",
"message": "Your parcel is out for delivery today.",
"raw": null,
"created_at": 1530170040,
"updated_at": 1530255600
}
An event
represents a shipping event that occurred on a tracker during delivery.
FIELD | DESCRIPTION |
---|---|
id integer | Unique identifier of the event |
happened_at datetime | Time at which the event occurred |
event_type_code string see available values | Shipup internal event code |
message string | Event message. Shipup can not guarantee that this message will stay unchanged for a same event type. Shipping carriers or Shipup might edit them at any time so don't use them as a lookup key |
raw string (JSON or HTML) | Raw information of the carrier. Depending on the carrier, format can be HTML or JSON, both expressed as a string |
created_at datetime | Time at which the event was imported into Shipup. Not to be mistaken with happened_at (time at which the event occurred) |
updated_at datetime | Time at which the event was last updated |