Generated after an Approval Flow is rejected.

interface ApprovalFlowRejectedMessagePayload {
    associate: CustomerReference;
    order: OrderReference;
    rejectionReason?: string;
    type: "ApprovalFlowRejected";
}

Properties

Reference to the Customer who rejected the Approval Flow.

Reference to the Order that received the rejection.

rejectionReason?: string

Description of the reason why the Approval Flow was rejected.

type: "ApprovalFlowRejected"