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

    Interface CategorySetAssetCustomTypeAction

    interface CategorySetAssetCustomTypeAction {
        action: "setAssetCustomType";
        assetId?: string;
        assetKey?: string;
        fields?: FieldContainer;
        type?: TypeResourceIdentifier;
    }

    Hierarchy (View Summary)

    Index

    Properties

    action: "setAssetCustomType"
    assetId?: string

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

    assetKey?: string

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

    Sets the Custom Fields fields for the Asset.

    Defines the Type that extends the Asset with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Asset.