@gradientedge/commercetools-utils
    Preparing search index...

    Interface OrderSetReturnItemCustomTypeAction

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

    Hierarchy (View Summary)

    Index
    action: "setReturnItemCustomType"

    Object containing the Custom Fields fields for the Return Item.

    Required if at least one Custom Field is defined as required in the `fieldDefinitions` of the referenced [Type](ctp:api:type:Type).
    
    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.