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

    Interface StagedOrderImportLineItemStateAction

    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 Line Item states' quantities.

    interface StagedOrderImportLineItemStateAction {
        action: "importLineItemState";
        lineItemId?: string;
        lineItemKey?: string;
        state: ItemState[];
    }

    Hierarchy (View Summary)

    Index

    Properties

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

    state: ItemState[]

    New status of the Line Items.