Generated after a successful Add Delivery update action.

interface DeliveryAddedMessagePayload {
    delivery: Delivery;
    shippingKey?: string;
    type: "DeliveryAdded";
}

Properties

delivery: Delivery

Delivery that was added to the Order. The Delivery in the Message body does not contain Parcels if those were part of the initial Add Delivery update action. In that case, the update action produces an additional ParcelAddedToDelivery Message containing information about the Parcels.

shippingKey?: string

User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

type: "DeliveryAdded"

Generated using TypeDoc