v1
latestOpenAPI 3.1.02026-07-1422428.2 KBRetrieves the last event of the specified orders.
Query parameters
Order's ID assigned by the retailer; unique within all the retailer's orders manifested to Paack. Can include special characters but excluding a comma. Note that if you use special characters in an external ID, you will have to convert them to retrieve the order through our tracking. For this reason, we recommend not using special characters.
Comma-separated external IDs for which to retrieve the last event.
Sale ID assigned by the retailer; unique within all the retailer's orders manifested to Paack. Can include special characters but excluding a comma. Note that if you use special characters in a sale number, you will have to convert them to retrieve the order through our tracking. For this reason, we recommend not using special characters.
Comma-separated IDs of the orders for which to retrieve the last event for.
Barcode identifier of a parcel within an order.
Comma-separated barcodes of the orders for which to retrieve the last event for. Note that you cannot receive an individual parcel querying by barcode because tracking is always done at order level. This query returns the order(s) that include this barcode.
Option to show delivery events in details.
Sends detailed events for a delivery or a delivery attempt. For example if you use deliveryDetails you will get SP004 - DELIVERED THIRD PARTY for orders delivered to a third party, otherwise you will always get SP003 - DELIVERED for all orders. The same will happen for delivery attempts, if you use deliveryDetails you will get further details about the delivery attempts, otherwise you'll recieve SA005 - ATTEMPTED OTHER. Existing events for delivery which you can get in case of using this parameter: SP004 Delivered to 3rd party Events that will be available in the future for delivery: SP022 Delivered in safe place SP027 Delivered to household member Existing events for delivery attempts which you can get using this parameter: SA012 - ATTEMPTED DAMAGED , SA013 - ATTEMPTED POD NOT PROVIDED , SA014 - ATTEMPTED WEATHER OR DISTURBANCE , SA015 - ATTEMPTED BUSINESS IS CLOSED
Response
Returns information, including the last event, of the orders specified in the query parameter.
Example response
{
"data": [
{
"id": "0e5a1edf-456e-4a74-a9b5-ddef1ddb2d9a",
"external_id": "5CVB4l54_p7sd353a",
"event_id": "SM001",
"event_name": "MANIFESTED",
"event_description": "The order data has been received in our systems",
"is_open": true,
"parcels": [
{
"barcode": "034724878233029421",
"height": 28.2,
"length": 38,
"weight": 12.1,
"width": 48.2
}
],
"delivery_attempt": 1,
"delivery_type": "direct",
"updated_at": "2022-08-11 06:31:21.508207777 +0000 UTC",
"service_type": "ST2",
"customer": {
"first_name": "Martín Fierro",
"email": "martin.fierro@example.es"
},
"delivery_address": {
"city": "Barcelona",
"country": "ES",
"line1": "Via Augusta 17, Principal",
"post_code": "08006"
},
"expected_delivery_ts": {
"start": "2022-09-08T08:00:00+00:00",
"end": "2022-09-08T10:01:00+00:00"
},
"expected_pickup_ts": {
"start": "2022-08-08T16:00:00+00:00",
"end": "2022-08-08T16:01:00+00:00"
},
"pick_up_address": {
"city": "Barcelona",
"country": "ES",
"line1": "Avinguda Diagonal 1234",
"post_code": "08021"
},
"order_details": [
{
"name": "sale_number",
"type": "string",
"value": "g_328294984981"
},
{
"name": "paack_order_number",
"type": "string",
"value": "c348446eee4e5CVB4l54_p7sd353a"
},
{
"name": "retailer_order_number",
"type": "string",
"value": "5CVB4l54_p7sd353a"
}
],
"delivery_instructions": "Leave at the door",
"pick_up_instructions": "Check opening hours",
"tracking_url": "https://t.paack.co/order_tracking?postal_code=08006&tracking_number=5CVB4l54_p7sd353a",
"tracking_id": "4d44aff8-c4d7-5459-8544-d357a1b7c5ab"
}
],
"error": null
}