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

    Interface MyCartSetLineItemCustomTypeAction

    interface MyCartSetLineItemCustomTypeAction {
        action: "setLineItemCustomType";
        fields?: FieldContainer;
        lineItemId?: string;
        lineItemKey?: string;
        type?: TypeResourceIdentifier;
    }

    Hierarchy (View Summary)

    Index
    action: "setLineItemCustomType"

    Object containing the Custom Fields fields for the Line Item.

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

    id of the LineItem to update. Either lineItemId or lineItemKey is required.

    lineItemKey?: string

    key of the LineItem to update. Either lineItemId or lineItemKey is required.

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