Generated after a successful Transition LineItem State update action.

interface LineItemStateTransitionMessagePayload {
    fromState: StateReference;
    lineItemId: string;
    lineItemKey?: string;
    quantity: number;
    toState: StateReference;
    transitionDate: string;
    type: "LineItemStateTransition";
}

Properties

fromState: StateReference

State the Line Item was transitioned from.

lineItemId: string

Unique identifier of the Line Item.

lineItemKey?: string

User-defined unique identifier of the LineItem.

quantity: number

Number of Line Items for which the State was transitioned.

State the Line Item was transitioned to.

transitionDate: string

Date and time (UTC) the transition of the Line Item State was performed.

type: "LineItemStateTransition"