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

    Interface ShoppingListSetLineItemCustomTypeAction

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

    Hierarchy (View Summary)

    Index
    action: "setLineItemCustomType"

    Object containing the Custom Fields fields for the ShoppingListLineItem.

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

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

    lineItemKey?: string

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

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