Skip to main content
Version: 3.x

CategoryInput

No description

input CategoryInput {
description: JSONString
name: String
slug: String
seo: SeoInput
backgroundImage: Upload
backgroundImageAlt: String
metadata: [MetadataInput!]
privateMetadata: [MetadataInput!]
}

Fields

CategoryInput.description ● JSONString scalar

Category description.

Rich text format. For reference see https://editorjs.io/

CategoryInput.name ● String scalar

Category name.

CategoryInput.slug ● String scalar

Category slug.

CategoryInput.seo ● SeoInput input

Search engine optimization fields.

CategoryInput.backgroundImage ● Upload scalar

Background image file.

CategoryInput.backgroundImageAlt ● String scalar

Alt text for a product media.

CategoryInput.metadata ● [MetadataInput!] list input

Fields required to update the category metadata.

Added in Saleor 3.8.

CategoryInput.privateMetadata ● [MetadataInput!] list input

Fields required to update the category private metadata.

Added in Saleor 3.8.

Member of

categoryCreate mutation ● categoryUpdate mutation