This method should yield imported tracking events for a connection. It should only be implemented if you support importing tracking data in bulk via file exchange or API requests. Any information needed to retrieve tracking data for a connection should be collected in your registration form and will be made available as metadata in the request. See the Tracking Overview for implementation details.
An object containing information about the connection to import tracking events for.
A list of imported tracking events
{- "transaction_id": "0fec1e58-b197-4052-99cf-2218496c5482",
- "authorization": {
- "access_token": "string",
- "connection_context": {
- "property1": "string",
- "property2": "string"
}
}, - "metadata": {
- "property1": { },
- "property2": { }
}, - "connection_name": "string"
}
[- {
- "tracking_info": {
- "carrier_name": "string",
- "tracking_number": "string",
- "standardized_status_code": "UN",
- "standardized_status_detail_code": "COLLECTION_FAILED",
- "carrier_status_code": "string",
- "carrier_status_description": "string",
- "shipped_datetime": "2019-08-24T14:15:22Z",
- "estimated_delivery_datetime": "2019-08-24T14:15:22Z",
- "actual_delivery_datetime": "2019-08-24T14:15:22Z",
- "shipping_problem_description": "string",
- "weight": 0,
- "dimensions": {
- "length": 0,
- "width": 0,
- "height": 0
}, - "service": {
- "code": "string",
- "name": "string"
}, - "packaging": "string",
- "package_count": 0,
- "events": [
- {
- "event_datetime": "2019-08-24T14:15:22Z",
- "event_datetime_local": "2019-08-24T14:15:22Z",
- "event_code": "string",
- "description": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "country": "string",
- "company": "string",
- "signer": "string",
- "geo": {
- "lat": -31.9543,
- "long": -120.9762
}, - "status_code": "UN",
- "status_detail_code": "COLLECTION_FAILED"
}
], - "shipping_problem": true,
- "shipping_problem_code": "string",
- "error_description": "string"
}, - "update_method": "append",
- "error_messages": [
- "string"
], - "warning_messages": [
- "string"
]
}
]