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

    Interface ProductChangeSlugAction

    Produces the ProductSlugChanged Message.

    interface ProductChangeSlugAction {
        action: "changeSlug";
        slug: LocalizedString;
        staged?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    action: "changeSlug"

    Value to set. Must not be empty. A Product can have the same slug for different Locales, but it must be unique across the Project. Must match the pattern ^[A-Za-z0-9_-]{2,256}+$.

    staged?: boolean

    If true, only the staged slug is updated. If false, both the current and staged slug are updated.