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

    Interface OrderSetLineItemCustomTypeAction

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

    Hierarchy (View Summary)

    Index

    Properties

    action: "setLineItemCustomType"

    Sets the Custom Fields fields for the Line Item.

    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 Line Item with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Line Item.