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

    Interface ProductAddToCategoryAction

    Produces the ProductAddedToCategory Message.

    interface ProductAddToCategoryAction {
        action: "addToCategory";
        category: CategoryResourceIdentifier;
        orderHint?: string;
        staged?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    action: "addToCategory"

    The Category to add.

    orderHint?: string

    A string representing a number between 0 and 1. Must start with 0. and cannot end with 0. If empty, any existing value will be removed.

    staged?: boolean

    If true, only the staged categories and categoryOrderHints are updated. If false, both the current and staged categories and categoryOrderHints are updated.