Produces the Custom Line Item State Transition Message.

interface OrderTransitionCustomLineItemStateAction {
    action: "transitionCustomLineItemState";
    actualTransitionDate?: string;
    customLineItemId?: string;
    customLineItemKey?: string;
    fromState: StateResourceIdentifier;
    quantity: number;
    toState: StateResourceIdentifier;
}

Properties

action: "transitionCustomLineItemState"
actualTransitionDate?: string

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

customLineItemId?: string

id of the CustomLineItem to update. Either customLineItemId or customLineItemKey is required.

customLineItemKey?: string

key of the CustomLineItem to update. Either customLineItemId or customLineItemKey is required.

State the Custom Line Item should transition from.

quantity: number

Number of Custom Line Items that should transition State.

State the Custom Line Item should transition to.