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

    Interface ExtensionDraft

    interface ExtensionDraft {
        destination: ExtensionDestination;
        key?: string;
        timeoutInMs?: number;
        triggers: ExtensionTrigger[];
    }
    Index

    Properties

    Defines where the Extension can be reached.

    key?: string

    User-defined unique identifier for the Extension.

    timeoutInMs?: number

    Maximum time (in milliseconds) the Extension can respond within. If no timeout is provided, the default value is used for all types of Extensions, including payment Extensions. The maximum value is 10000 ms (10 seconds) for payment Extensions and 2000 ms (2 seconds) for all other Extensions.

    This limit can be increased per Project after we review the performance impact.
    Please contact the [Composable Commerce support team](https://support.commercetools.com) and provide the Region, Project key, and use case.
    
    triggers: ExtensionTrigger[]

    Describes what triggers the Extension.