Get the latest/current status of Shipment
Summary:
I am using below REST API to get the shipment details but I noticed that this API returned all the statuses not the current status.
/logisticsRestApi/resources-int/v2/shipments?showPks=true
Payload details above API is returning::
"statuses": { "links": [ { "rel": "self", "href": "«hostname»/logisticsRestApi/resources-int/v2/shipments/FSLR.4001180123/statuses" } ]
Content (please ensure you mask any confidential information):
How can I get the current status of shipment using REST API?
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):