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

    Interface OrderTransitionLineItemStateAction

    Produces the Line Item State Transition Message.

    interface OrderTransitionLineItemStateAction {
        action: "transitionLineItemState";
        actualTransitionDate?: string;
        fromState: StateResourceIdentifier;
        lineItemId?: string;
        lineItemKey?: string;
        quantity: number;
        toState: StateResourceIdentifier;
    }

    Hierarchy (View Summary)

    Index

    Properties

    action: "transitionLineItemState"
    actualTransitionDate?: string

    Date and time (UTC) to perform the State transition.

    State the Line Item should transition from.

    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.

    quantity: number

    Number of Line Items that should transition State.

    State the Line Item should transition to.