Containers
Write Containers
As the shipping provider, you are able to create, update, and delete containers.
A container is limited to 250 status changes. They are intended to be used for a single trip and typically range between 10 - 25 tracking updates.
Create Container
You can create a container with no request body, but ideally you would provide an array for container IDs that you wanted to include in the container. You can, however, always add those deliveries later.
Add Deliveries To Container
To update the deliveries in a container, send the deliveries that you want to add as an array and the new deliveries will be appended to the list of existing deliveries in this container.
Remove Deliveries From Container
To remove deliveries from a container, send an array of the deliveries that you want to delete. If you delete the whole container, all of the deliveries from that container will be automatically unlinked.
Update Container
When updating a container, you can update the tracking status which will be appended to the history of the container and can trigger notifications if those are set up. You can also send the location coordinates as often as you would like, though we recommend limiting this to a maximum of once every 30 seconds.
Update Tracking Status
The tracking status for container is updated the same way as it is for deliveries.
Update Coordinates
You can update the coordinates for the container at any time. This will not create a tracking update but can be used to show the live location on a map.
Delete Container
When a container is deleted, all deliveries from the container will automatically be unlinked.