Skip to main content

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 miscellaneous

Category description.

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

CategoryInput.name ● String scalar miscellaneous

Category name.

CategoryInput.slug ● String scalar miscellaneous

Category slug.

CategoryInput.seo ● SeoInput input miscellaneous

Search engine optimization fields.

CategoryInput.backgroundImage ● Upload scalar miscellaneous

Background image file.

CategoryInput.backgroundImageAlt ● String scalar miscellaneous

Alt text for a product media.

CategoryInput.metadata ● [MetadataInput!] list input miscellaneous

Fields required to update the category metadata.

Added in Saleor 3.8

CategoryInput.privateMetadata ● [MetadataInput!] list input miscellaneous

Fields required to update the category private metadata.

Added in Saleor 3.8

Member Of

categoryCreate mutation ● categoryUpdate mutation