Closed desmond-zhou closed 9 years ago
Input:
orderId
Output
// Combined Order Status/Tracking Response { "client" : "{{current_user}}", "orderDate" : "2012-04-23T18:25:43.511Z", "fromAddress" : { "address" : "8000 Delsom Way", "address2" : "unit 10", "city" : "Delta", "province" : "BC", "postal" : "V4C0A9", "country" : "Canada" }, "toAddress" : { "address" : "9188 Hemlock Drive", "city" : "Richmond", "province" : "BC", "postal" : "V7C2X4", "country" : "Canada" }, "serviceName" : "UPS_STANDARD", "shipments" : [ { "height" : 1, "width" : 1, "length" : 1, "weight" : 1, "nickName" : "mom's ring", "shipmentPackageType" : "CUSTOM" "trackingNumber": "2314315423524352", "trackingDocumentType": null, "tracking" : { "pickUpDate": 1262908800000, "trackingDate": 1263081600000, "trackingCity": "ANYTOWN", "trackingCountry": "US", "trackingStatus": "DELIVERED" } }, { "height" : 100, "width" : 100, "length" : 100, "weight" : 100, "nickName" : "television", "shipmentPackageType" : "SMALL" "trackingNumber": "2314315423524352", "trackingDocumentType": null, "tracking" : { "pickUpDate": 1262908800000, "trackingDate": 1263081600000, "trackingCity": "ANYTOWN", "trackingCountry": "US", "trackingStatus": "DELIVERED" } } ], "handler" : "optional_handler_name", "goodCategoryType" : "COSMETICS", "declareValue" : 100, "insuranceValue" : 150, "appointmentDate" : 1263110400000, "appointmentSlotType" : "MORNING" "status" : { "status" : "IN_TRANSIT", "description" : "Something about the overall status" "handler" : "can be used to store the person who made the update" "date" : 1263110400000 } }
Pushed integrated tracking structure "full order status requests in postman"
Input:
Output