UpdateCategoryInput
Input for updating an existing product category.
Allows partial updates to category fields while maintaining data integrity. All fields are optional, enabling selective updates without affecting unchanged properties. Excludes defaultLanguage which cannot be modified after creation.
input UpdateCategoryInput {
name: [LocalizedStringInput!]
description: [LocalizedStringInput!]
shortDescription: [LocalizedStringInput!]
parent: Int
metadataTitles: [LocalizedStringInput!]
metadataDescriptions: [LocalizedStringInput!]
metadataKeywords: [LocalizedStringInput!]
metadataCanonicalUrls: [LocalizedStringInput!]
hidden: YesNo
}
Fields
UpdateCategoryInput.name
● [LocalizedStringInput!]
list input
Localized category names for display in different languages.
Collection of category names in various supported languages for international markets and multilingual storefronts. Falls back to the category's default language when specific language is not available.
UpdateCategoryInput.description
● [LocalizedStringInput!]
list input
Detailed category description with rich content support.
Comprehensive category information including features, purpose, and context. Supports HTML formatting for rich content display and can be translated for multilingual catalogs. Used for category pages and detailed product organization.
UpdateCategoryInput.shortDescription
● [LocalizedStringInput!]
list input
Brief category summary for listings and previews.
Concise category description suitable for navigation menus, category cards, and overview displays where space is limited. Supports HTML formatting and multilingual translation for consistent user experience.
UpdateCategoryInput.parent
● Int
scalar
Parent category in the hierarchical structure.
Reference to the immediate parent category in the category tree, enabling hierarchical navigation and breadcrumb generation. Null for root-level categories.
UpdateCategoryInput.metadataTitles
● [LocalizedStringInput!]
list input
SEO-optimized page titles for search engines.
Localized title tag content used for search engine optimization and browser tab display. Should be concise, descriptive, and include relevant keywords for better search visibility. Recommended length: 50-60 characters.
UpdateCategoryInput.metadataDescriptions
● [LocalizedStringInput!]
list input
SEO meta descriptions for search engine results.
Localized meta description tag content that appears in search engine results pages. Should be compelling, informative, and within recommended character limits to improve click-through rates. Recommended length: 150-160 characters.
UpdateCategoryInput.metadataKeywords
● [LocalizedStringInput!]
list input
SEO keywords for search engine optimization.
Localized meta keywords relevant to the category content. Used by search engines to understand category context and improve discoverability for relevant search queries. Comma-separated list of relevant keywords.
UpdateCategoryInput.metadataCanonicalUrls
● [LocalizedStringInput!]
list input
Canonical URLs for duplicate content management.
Localized canonical URLs that tell search engines which version of the category page is the authoritative source. Prevents duplicate content issues and consolidates SEO value.
UpdateCategoryInput.hidden
● YesNo
enum
Visibility status of the category.
Controls whether the category is visible to customers in navigation and search results. Hidden categories are only accessible to administrators and can be used for draft content or temporary organization. Values: Y (hidden) or N (visible).
Member Of
categoryUpdate
mutation