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

    Interface ExtensionInput

    interface ExtensionInput {
        action: ExtensionAction;
        oldResource?: Reference;
        resource: Reference;
    }
    Index

    Create or Update request.

    oldResource?: Reference

    Expanded reference to the resource as it was before the update. Only included when additionalContext.includeOldResource is true on the Extension and the action is Update.

    resource: Reference

    Expanded reference to the resource that triggered the Extension.