An address can only be removed if it is not referenced in any ItemShippingTarget of the Cart. In such case, change the Line Item shipping address to a different addressKey first using the Set LineItemShippingDetails update action, before you remove the obsolete address.

interface OrderRemoveItemShippingAddressAction {
    action: "removeItemShippingAddress";
    addressKey: string;
}

Properties

Properties

action: "removeItemShippingAddress"
addressKey: string

key of the Address to remove from itemShippingAddresses.