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

    Interface CategorySetAssetCustomFieldAction

    interface CategorySetAssetCustomFieldAction {
        action: "setAssetCustomField";
        assetId?: string;
        assetKey?: string;
        name: string;
        value?: any;
    }

    Hierarchy (View Summary)

    Index

    Properties

    action: "setAssetCustomField"
    assetId?: string

    New value to set. Either assetId or assetKey is required.

    assetKey?: string

    New value to set. Either assetId or assetKey is required.

    name: string

    Name of the Custom Field.

    value?: any

    If value is absent or null, this field will be removed if it exists. Removing a field that does not exist returns an InvalidOperation error. If value is provided, it is set for the field defined by name.