api.shipments.get_shipment
GET /shipment— ACPortal
Python
api.shipments.get_shipment(*, franchisee_id: str | None = None, provider_id: str | None = None, pro_number: str | None = None) -> ShipmentInfo
CLI
ab shipments get_shipment [--franchisee-id ...] [--provider-id ...] [--pro-number ...]
GET /shipment
Query parameters — ShipmentParams
Field |
Type |
Required |
Description |
|---|---|---|---|
|
|
no |
Franchisee UUID |
|
|
no |
Provider UUID |
|
|
no |
PRO/tracking number |
Response
Returns ShipmentInfo.
Field |
Type |
Required |
Description |
|---|---|---|---|
|
|
no |
Shipment identifier |
|
|
no |
Current status |
|
|
no |
Carrier name |
|
|
no |
PRO tracking number |
|
|
no |
API used for shipment |
|
|
no |
Tracking history provider |
|
|
no |
Tracking status history |
|
|
no |
Shipment weight details |
|
|
no |
Job total weight |
|
|
no |
Whether shipment was successful |
|
|
no |
Error message if failed |
|
|
no |
Multiple shipments flag |
|
|
no |
Package details |
|
|
no |
Estimated delivery date |