Easyship · Schema

Easyship Tracking

Tracking object returned by the Easyship trackings endpoint.

ShippingLogisticsEcommerceFulfillmentCrossBorder

Properties

Name Type Description
id string
tracking_number string
courier_id string
courier_umbrella_name string
tracking_page_url string
current_status string
checkpoints array
View JSON Schema on GitHub

JSON Schema

easyship-tracking-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://github.com/api-evangelist/easyship/blob/main/json-schema/easyship-tracking-schema.json",
  "title": "Easyship Tracking",
  "description": "Tracking object returned by the Easyship trackings endpoint.",
  "type": "object",
  "properties": {
    "id": { "type": "string" },
    "tracking_number": { "type": "string" },
    "courier_id": { "type": "string" },
    "courier_umbrella_name": { "type": "string" },
    "tracking_page_url": { "type": "string", "format": "uri" },
    "current_status": {
      "type": "string",
      "enum": [
        "label_generated",
        "pending",
        "in_transit",
        "out_for_delivery",
        "delivered",
        "exception",
        "returned"
      ]
    },
    "checkpoints": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "checkpoint_time": { "type": "string", "format": "date-time" },
          "city": { "type": "string" },
          "state": { "type": "string" },
          "country_alpha2": { "type": "string", "minLength": 2, "maxLength": 2 },
          "status": { "type": "string" },
          "description": { "type": "string" }
        },
        "required": ["checkpoint_time", "status"]
      }
    }
  },
  "required": ["tracking_number"]
}