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

    Interface ProductSetCategoryOrderHintAction

    interface ProductSetCategoryOrderHintAction {
        action: "setCategoryOrderHint";
        categoryId: string;
        orderHint?: string;
        staged?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    action: "setCategoryOrderHint"
    categoryId: string

    The id of the Category to add the orderHint. If this Category is not assigned to the Product, an InvalidOperation error is returned.

    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 categoryOrderHints is updated. If false, both the current and staged categoryOrderHints are updated.