The data is not persisted but is dynamically pulled by dry-running the update actions from stagedActions on the current version of the related Order, not from the Order version at the time the OrderEdit was created. Therefore, it cannot be queried.

interface OrderEditPreviewSuccess {
    messagePayloads: MessagePayload[];
    preview: StagedOrder;
    type: "PreviewSuccess";
}

Properties

messagePayloads: MessagePayload[]

Messages that will be generated if the edit is applied.

preview: StagedOrder

A preview of the edited Order as it will be after all stagedActions (incl. optional Order API Extensions) are applied.

type: "PreviewSuccess"