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

    Interface ApprovalRuleDraft

    interface ApprovalRuleDraft {
        approvers: ApproverHierarchyDraft;
        description?: string;
        key?: string;
        name: string;
        predicate: string;
        requesters: RuleRequesterDraft[];
        status: ApprovalRuleStatus;
    }
    Index

    Properties

    The hierarchy of approvers within the Approval Rule.

    description?: string

    Description of the Approval Rule.

    key?: string

    User-defined unique identifier of the Approval Rule. Uniqueness is enforced within the Business Unit.

    name: string

    Name of the Approval Rule.

    predicate: string

    The predicate describing the Orders the Approval Rule should match against.

    requesters: RuleRequesterDraft[]

    The Associate Roles customers must hold for their Order to require approval.

    Indicates whether the Approval Rule should be matched against Orders or not.