Produces the Delivery Items Updated Message.

interface OrderSetDeliveryItemsAction {
    action: "setDeliveryItems";
    deliveryId?: string;
    deliveryKey?: string;
    items: DeliveryItem[];
}

Properties

action: "setDeliveryItems"
deliveryId?: string

id of an existing Delivery.

Either `deliveryId` or `deliveryKey` must be provided.
deliveryKey?: string

key of an existing Delivery.

Either `deliveryId` or `deliveryKey` must be provided.
items: DeliveryItem[]

Value to set. If empty, any existing value is removed.