Produces the ParcelItemsUpdated Message.

interface OrderSetParcelItemsAction {
    action: "setParcelItems";
    items: DeliveryItem[];
    parcelId?: string;
    parcelKey?: string;
}

Properties

action: "setParcelItems"
items: DeliveryItem[]

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

parcelId?: string

id of an existing Parcel.

Either `parcelId` or `parcelKey` must be provided.
parcelKey?: string

key of an existing Parcel.

Either `parcelId` or `parcelKey` must be provided.