Skip to main content

CategoryInput

No description

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

Fields

CategoryInput.description ● String scalar

Category description (plaintext, deprecated as input).

CategoryInput.descriptionHtml ● String scalar

Category description (HTML).

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 an image.

CategoryInput.allowProductAssignment ● Boolean scalar

Is it allowed to assign this category to a product or not.

CategoryInput.customFields ● [AttributeValueInput!] list input

List of custom fields.

Member Of

categoryCreate mutation ● categoryUpdate mutation

Was this page helpful?