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

    Interface CategorySetAssetCustomTypeAction

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

    Hierarchy (View Summary)

    Index
    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.

    Object containing the Custom Fields fields for the Asset.

    Required if at least one Custom Field is defined as required in the `fieldDefinitions` of the referenced [Type](ctp:api:type:Type).
    

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