My Products
Help
adrianm
PARTNER

Get shipments for order

by adrianm

I'm in the process of converting an integration to SalesOrder v3.

 

The integration does some processing based on shipments. 

In SalesOrder v1 the GET contain a list of shipments but I can't find them in v3

"shipments": [
    {
      "shipmentType": "string",
      "shipmentNo": "string",
      ...
    }
  ],

 

There is also no order number filter in the shipment endpoint, only customer and status.

 

How do I find an order's shipments?

 

Do I really need to fetch all shipments for the order's customer and filter locally?

1 REPLY 1
Joni Wolff
VISMA

by Joni Wolff

In v3 you can use GET /api/v3/SalesOrders/{type}/{orderId}/shipment