ClusterOptionCreateInput
Input for creating a new cluster option.
Contains all necessary information to establish a new selectable option within a product cluster, including localized content, requirement settings, and visibility controls. Cluster options allow customers to choose from different product variants or configurations.
input ClusterOptionCreateInput {
names: [LocalizedStringInput!]
descriptions: [LocalizedStringInput!]
shortDescriptions: [LocalizedStringInput!]
defaultLanguage: String
isRequired: YesNo
hidden: YesNo!
}
Fields
ClusterOptionCreateInput.names
● [LocalizedStringInput!]
list input
Localized names for the cluster option in different languages.
Collection of option names translated into various languages for international support and multilingual storefronts. Used for displaying option choices to customers.
ClusterOptionCreateInput.descriptions
● [LocalizedStringInput!]
list input
Detailed descriptions of the cluster option in different languages.
Comprehensive option descriptions providing detailed information about the choice, features, and specifications in multiple languages.
ClusterOptionCreateInput.shortDescriptions
● [LocalizedStringInput!]
list input
Brief summaries of the cluster option in different languages.
Concise option descriptions used in selection interfaces and previews where space is limited. Provides quick overview of the option choice.
ClusterOptionCreateInput.defaultLanguage
● String
scalar
Default language code for the cluster option.
ISO 639-1 uppercase language code (e.g., 'EN', 'NL', 'DE') that serves as the primary language for this option. Used for fallback content when specific language translations are not available.
ClusterOptionCreateInput.isRequired
● YesNo
enum
Whether this option is required for cluster selection.
When set to 'Y', customers must select this option to complete their product configuration. When set to 'N' or not specified, the option is optional.
ClusterOptionCreateInput.hidden
● YesNo!
non-null enum
Cluster option visibility status for storefronts.
Controls whether the option is visible to customers in cluster configuration interfaces. When set to 'N' (default), the option is visible; when set to 'Y', it is hidden from customer view.
Member Of
clusterOptionCreate
mutation