@gradientedge/commercetools-utils
    Preparing search index...

    Interface ReviewTransitionStateAction

    Transition to a new State. This update action produces the Review State Transition Message.

    interface ReviewTransitionStateAction {
        action: "transitionState";
        force?: boolean;
        state: StateResourceIdentifier;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    action: "transitionState"
    force?: boolean

    Switch validations on or off.

    Value to set. If there is no State yet, the new State must be an initial State. If the existing State has transitions set, there must be a direct transition to the new State. If transitions is not set, no validation is performed. If the new State does not have the role ReviewIncludedInStatistics, the Review is not taken into account in the ratings statistics of the target.