v1
latestOpenAPI 3.0.12026-07-242073551.1 MBCollections
Get Collections Timeslots
Retrieve all available time slots for shipment collection based on a shipment tracking number or uniqueId. This endpoint is essential for customers who wish to schedule a collection and need to know which dates and times are available for their specific shipment. <br /> <br />Note: Before using this endpoint, make sure your shipment has been created using Royal Mail.
get/v4/collections/rm/timeslots/{shipmentId}
Path parameters
shipmentIdstring required
A unique identifier (shipmentId) or tracking number returned in the Create shipment response. This ID is used to reference and track specific shipments within the system.
Response
Returns a list of available dates for collection.
Example response
{
"ShipmentId": "c4e60776-288f-464e-b35b-ff0f3252c0f0",
"SlotReservationId": "CC-W307-028741033",
"SlotReservationExpiryTime": "2023-11-05T14:30:00Z",
"Slots": [
{
"SlotDate": "2023-11-05",
"EstimatedWindow": "14:30-16:30"
}
]
}