v1
latestOpenAPI 3.0.12026-07-242073551.1 MBContainers
Get Container
Provides details for a specific container. <br />Information about the associated carrier, shipping location, total weight, number of shipments and packages in the containers will be returned.
get/v4/containers/{containerId}
Path parameters
containerIdstring required
Container Id <br />SAPIENT Container Id (assigned by SAPIENT) or Alias (assigned by you) for the container.
Query parameters
returnShipmentsboolean
If set to True, the response will return a list of the shipments allocated to the container. <br />Defaults to False if not provided.
Response
Returns a details of the container.
Example response
{
"ContainerId": "South East 1234",
"CarrierCode": "RM",
"ShippingLocationId": "93f6d928-9456-434a-9d69-60f3b7dea091",
"ShippingLocationAlias": "Northern Warehouse",
"TotalWeight": 12.5,
"TotalShipments": 23,
"TotalPackages": 23,
"Shipments": [
{
"TrackingNumber": "TT000860906GB",
"BarcodeNumber": "4C0069786000000014AC0",
"Reference1": "OrderRef71"
}
]
}