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

    Interface ApprovalRule

    interface ApprovalRule {
        approvers: ApproverHierarchy;
        businessUnit: BusinessUnitKeyReference;
        createdAt: string;
        createdBy?: CreatedBy;
        custom?: CustomFields;
        description?: string;
        id: string;
        key?: string;
        lastModifiedAt: string;
        lastModifiedBy?: LastModifiedBy;
        name: string;
        predicate: string;
        requesters: RuleRequester[];
        status: ApprovalRuleStatus;
        version: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    The hierarchy of approvers within the Approval Rule.

    The Business Unit the Approval Rule belongs to.

    createdAt: string

    Date and time (UTC) the Approval Rule was initially created.

    createdBy?: CreatedBy

    IDs and references that created the ApprovalRule.

    custom?: CustomFields

    Custom Fields on the Approval Rule.

    description?: string

    Description of the Approval Rule.

    id: string

    Unique identifier of the Approval Rule.

    key?: string

    User-defined unique identifier of the Approval Rule. Must be unique within a Business Unit.

    lastModifiedAt: string

    Date and time (UTC) the Approval Rule was last updated.

    lastModifiedBy?: LastModifiedBy

    IDs and references that last modified the ApprovalRule.

    name: string

    Name of the Approval Rule.

    predicate: string

    The Order Predicate describing the Orders the Approval Rule should match against.

    requesters: RuleRequester[]

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

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

    version: number

    Current version of the Approval Rule.