This method starts tracking for one or more shipment identifiers and creates subscriptions to push tracking updates to configured channels (webhook, SQS, or Kafka).
This method should be implemented if you support push-based tracking notifications where updates are sent to configured endpoints rather than polling for updates.
An object containing tracking identifiers and subscription channel configurations.
Subscription results for each tracking identifier.
{- "identifiers": [
- {
- "type": "string",
- "value": "string"
}
], - "subscriptions": [
- {
- "type": "webhook",
- "protocol": {
- "url": "string"
}
}
], - "transaction_id": "0fec1e58-b197-4052-99cf-2218496c5482",
- "authorization": {
- "access_token": "string",
- "connection_context": {
- "property1": "string",
- "property2": "string"
}
}, - "metadata": {
- "property1": { },
- "property2": { }
}, - "connection_name": "string"
}{- "subscription_results": [
- {
- "identifier": {
- "type": "string",
- "value": "string"
}, - "status": "SUCCESS",
- "error_message": "string"
}
], - "metadata": {
- "property1": { },
- "property2": { }
}
}