This request is used to get previously created pickup order. It can be used by sending a GET request to: https://api.deftship.com/pickup-orders/{pickup_order_id}.
| Method | URI | Headers |
|---|---|---|
| GET | pickup-orders/{pickup_order_id} |
default |
[ups, dhl, usps, canadapost]
+pieces | Array | Piece details
++readable_service | String | Readable service name
++service | String | Service Code
++container_type | String | Container Type
++quantity | Integer | Pieces Quantity
++weight | Integer | Weight
++destination_country_code | String | Country of the destination country (code) for the list please refer to country-codes
+total_weight | String | Total weight in pounds
+ready_time | String | Ready time of order
+close_time | String | Close time of order
+pickup_date | String | Pickup dateSuccessful
{
"success": true,
"data": {
"from_address": {
"id": 1387235969,
"name": "NV",
"attention": "NV",
"city": "LAS VEGAS",
"state": "NV",
"zip": "89107",
"country": "US",
"telephone": "888888888888",
"is_residential": false,
"street_1": "556 Vanguard Way Suite D",
"street_2": null,
"street_3": null
},
"id": 740102512,
"piece_count": 1,
"status": "ready",
"carrier": "ups",
"pieces": [
{
"readable_service": "UPSĀ® Ground",
"service": "03",
"container_type": "package",
"quantity": 2,
"weight": 20,
"destination_country_code": "US"
}
],
"total_weight": "40 LBS",
"ready_time": "13:30",
"close_time": "15:30",
"pickup_date": "05-01-2023"
}
}
Failed
{
"success": false,
"message": "Pickup Order does not exist"
}