interface OrderSetReturnItemCustomTypeAction {
    action: "setReturnItemCustomType";
    fields?: FieldContainer;
    returnItemId?: string;
    returnItemKey?: string;
    type?: TypeResourceIdentifier;
}

Properties

action: "setReturnItemCustomType"

Sets the Custom Fields fields for the Return Item.

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.

Defines the Type that extends the Return Item with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Return Item.