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

    Interface CustomerGroupSetCustomTypeAction

    This action sets or removes the custom type for an existing CustomerGroup. If present, this action overwrites any existing custom type and fields.

    interface CustomerGroupSetCustomTypeAction {
        action: "setCustomType";
        fields?: FieldContainer;
        type?: TypeResourceIdentifier;
    }

    Hierarchy (View Summary)

    Index
    action: "setCustomType"

    Object containing the Custom Fields fields for the CustomerGroup.

    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 CustomerGroup with Custom Fields. If absent, any existing Type and Custom Fields are removed from the CustomerGroup.