Interface StagedOrderSetReturnPaymentStateAction

To set a ReturnPaymentState, the Order returnInfo must have at least one ReturnItem.

interface StagedOrderSetReturnPaymentStateAction {
    action: "setReturnPaymentState";
    paymentState: string;
    returnItemId?: string;
    returnItemKey?: string;
}

Properties

action: "setReturnPaymentState"
paymentState: string

New Payment status of the ReturnItem.

returnItemId?: string

id of the ReturnItem to update. Either returnItemId or returnItemKey is required.

returnItemKey?: string

key of the ReturnItem to update. Either returnItemId or returnItemKey is required.