orderShipped event
This event is published whenever an order is shipped either partially or completely. It
publishes important information such as the shipment number, carrier service, tracking number and so
on.
Shipment lines are modeled as individual events and published along with the
orderShipped event. To receive the full shipment data, the following event must
also be subscribed along with the orderShipped event. The accompanying event is
described as follows:- shipmentLine event
- This event is published with the
orderShippedevent. It publishes only the shipment lines that are created.
- Event schema
- For example, consider that an Order with two lines, each with an
orderedQuantityof 5 is shipped. The resulting event is a batch event containing two batches, one for each of the shipment lines. Each batch will contain ashipmentLineevent along with the correspondingorderShippedevent. Additionally, anorderModifiedbatch event is published as the order line statuses would have changed due to the Confirm Shipment transaction. TheorderModifiedevent published as part of shipment confirmation flow for this order will contain two batches, one for each of the order line statuses that have changed to 'Shipped'.Refer orderShipped Schema for event data in JSON format.