Discussions

Ask a Question
Back to All

Multi stop orders not returning leg id or address when calling "find orders"

Hello there - Hope you can help on this:

When calling "customers/{customerID}/orders/{orderID}" when the order has either multi stop origin or destination. I am getting "current_leg_id": null in the response and also not getting data in origin and destination address.

This is a test order: customers/a15ca7d7-ac83-4648-8f0b-c149f3508046/orders/8b6436dc-eedd-4f42-b571-8eae1e54f7c2

Questions:

1- How could i get via API first origin address and last destination address when the order has multiple stops like the one i included as example?

2- How could i get via API either the leg id or manifest id when the order has multiple stops like the one i included as example?