Skip to main content

CategoryInput

No description

input CategoryInput {
name: String
slug: String
description: String
descriptionJson: String
parent: ID
backgroundImage: Upload
backgroundImageAlt: String
seo: SeoInput
allowProductAssignment: Boolean
customFields: [AttributeValueInput!]
descriptionHtml: String
}

Fields

CategoryInput.name ● String scalar

CategoryInput.slug ● String scalar

CategoryInput.description ● String scalar

CategoryInput.descriptionJson ● String scalar

CategoryInput.parent ● ID scalar

CategoryInput.backgroundImage ● Upload scalar

CategoryInput.backgroundImageAlt ● String scalar

CategoryInput.seo ● SeoInput input

CategoryInput.allowProductAssignment ● Boolean scalar

Whether products can be assigned to this category directly.

CategoryInput.customFields ● [AttributeValueInput!] list input

Custom field values for the category.

CategoryInput.descriptionHtml ● String scalar

Category description (HTML).

Member Of

categoryCreate mutation ● categoryUpdate mutation

Was this page helpful?