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

    Interface ExtensionTrigger

    interface ExtensionTrigger {
        actions: ExtensionAction[];
        condition?: string;
        resourceTypeId: ExtensionResourceTypeId;
    }
    Index

    Properties

    actions: ExtensionAction[]

    Create and Update requests are supported.

    condition?: string

    Valid predicate that controls the conditions under which the API Extension is called. The Extension is not triggered when the specified condition is not fulfilled.

    resourceTypeId: ExtensionResourceTypeId

    The resource that triggers the Extension.