Advanced ship notice retrieve API

Test endpoint:
https://transact.ti.com/v2/store/orders/T10999999/advanced-shipment-notices/test
https://transact.ti.com/v2/store/orders/T10999999/advanced-shipment-notices/499999999/test

Production endpoint:
https://transact.ti.com/v2/store/orders/{Order Number}/advanced-shipment-notices/
https://transact.ti.com/v2/store/orders/{Order Number}/advanced-shipment-notices/{Waybill Number}

After packing your order, when it's ready to ship, TI generates shipment tracking information accessible through the advanced ship notification (ASN) API. The response includes detailed information regarding your shipment, such as shipment tracking number, carrier information and commercial invoices. The API is available in push or retrieve implementations. The push API will send a webhook to your system in real time to notify that your order is ready to ship and can be used to trigger automation flows. See push notification setup for more information.
 

Advanced ship notice (ASN) API flow

  1. After tracking information has been generated, authenticate with your assigned API key and secret.
  2. After you have receive your access token, you can get shipping information for an entire order by submitting a request with just the order number. Multiple requests can be made in the same session with the access token as long as the token hasn't expired.  
  3. The API will reply with a status code, 200 OK, and a JSON containing shipping details.
  4. You can also pull the details of a specific shipment by including the waybill number from the previous API request or from the myTI order history page after an order ships.

A testing version of the API is available. The data in the response will return standardized testing example data. For testing, the order ID  should always be passed as T10999999 and the waybillNumber should always be passed as 0499999999.

https://transact.ti.com/v2/store/orders/T10999999/advanced-shipment-notices/test?requestCommercialInvoicePDF=true&requestWaybillPDF=true  

https://transact.ti.com/v2/store/orders/T10999999/advanced-shipment-notices/499999999/test?requestCommercialInvoicePDF=true&requestWaybillPDF=true

Example request for retrieve:

curl --request GET \
--url 'https://transact.ti.com/v2/store/orders/{orderNumber}/advanced-shipment-notices/{wayBillNumber}'
--header 'Authorization: Bearer {access_token}' \