Change triggered by the following update actions:

- [Change the state of LineItem according to allowed transitions](ctp:api:type:OrderTransitionLineItemStateAction) on Orders.
- [Change the state of LineItem according to allowed transitions](ctp:api:type:OrderTransitionLineItemStateAction) on Staged Orders.
interface TransitionLineItemStateChange {
    change: string;
    lineItemId: string;
    nextValue: ItemState[];
    previousValue: ItemState[];
    stateId: string;
    type: "TransitionLineItemStateChange";
}

Properties

change: string
lineItemId: string

id of the updated LineItem.

nextValue: ItemState[]

Value after the change.

previousValue: ItemState[]

Value before the change.

stateId: string

id of the State involved in the transition.

type: "TransitionLineItemStateChange"