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

    Interface CartSetCustomLineItemCustomTypeAction

    interface CartSetCustomLineItemCustomTypeAction {
        action: "setCustomLineItemCustomType";
        customLineItemId?: string;
        customLineItemKey?: string;
        fields?: FieldContainer;
        type?: TypeResourceIdentifier;
    }

    Hierarchy (View Summary)

    Index
    action: "setCustomLineItemCustomType"
    customLineItemId?: string

    id of the CustomLineItem to update. Either customLineItemId or customLineItemKey is required.

    customLineItemKey?: string

    key of the CustomLineItem to update. Either customLineItemId or customLineItemKey is required.

    Object containing the Custom Fields fields for the CustomLineItem.

    Required if at least one Custom Field is defined as required in the `fieldDefinitions` of the referenced [Type](ctp:api:type:Type).
    

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