Change triggered by the following update actions:

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

Properties

change: string
lineItemId: string

id of the updated CustomLineItem.

nextValue: ItemState[]

Value after the change.

previousValue: ItemState[]

Value before the change.

stateId: string

id of the State involved in the transition.

type: "TransitionCustomLineItemStateChange"