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

    Interface OrderImportCustomLineItemStateAction

    The import of States does not follow any predefined rules and should be only used if no transitions are defined. The quantity in the ItemStates must match the sum of all Custom Line Item states' quantities.

    interface OrderImportCustomLineItemStateAction {
        action: "importCustomLineItemState";
        customLineItemId?: string;
        customLineItemKey?: string;
        state: ItemState[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    action: "importCustomLineItemState"
    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.

    state: ItemState[]

    New status of the Custom Line Items.