Does the Shipment Update webhook fire for every merged order?

Hi! When orders get merged in ShipHero and then ship, our system isn’t closing out the sub-orders. Does the Shipment Update webhook fire only once for the master order, or once for each merged order?
And if it does fire for the sub-orders, does that call include the tracking number, or does it come back empty?

Thank you in advance!!:grin:

Hi! The Shipment Update webhook fires a separate call for each merged order, the master and every sub-order. Each call has its own order_number and partner_order_id.

The tracking_number is populated in the sub-order calls too, with the same value as the master’s call, since they all describe the same physical shipment. For example:

Master’s call: { “order_number”: “MASTER-ORDER-NUMBER”, “tracking_number”: “1Z999AA10123456784”, “shipping_carrier”: “ups” }

Sub-order’s call: { “order_number”: “SUB-ORDER-NUMBER”, “tracking_number”: “1Z999AA10123456784”, “shipping_carrier”: “ups” }