get_tracking
Get the carrier and tracking number of a Shipment from its package tracking page.
Instructions
Get the carrier and tracking number of a Shipment from its package tracking page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | The Amazon site to read, e.g. `amazon.de`, since each site has its own orders. By default, the user's default site (see `check_session`). | |
| order_id | Yes | The Amazon Order ID of the Shipment. | |
| shipment_id | Yes | The Shipment's `shipment_id`. Amazon stops showing the tracking link it comes from on older Orders. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| carrier | No | The carrier name, e.g. `UPS`, or `Amazon` for Amazon's own delivery network. | |
| tracking_number | No | The carrier's tracking number, e.g. `1Z999AA10123456784` or `TBA000000000000`. Always a `str`, since many (e.g. USPS) are all digits and may have leading zeros. |