Skip to main content

CategoryInput Input Type

No description

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

Fields

description ● JSONString

Category description.

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

name ● String

Category name.

slug ● String

Category slug.

seo ● SeoInput

Search engine optimization fields.

backgroundImage ● Upload

Background image file.

backgroundImageAlt ● String

Alt text for a product media.

metadata ● [MetadataInput!]

Fields required to update the category metadata. Can be read by any API client authorized to read the object it's attached to.

Warning: never store sensitive information, including financial data such as credit card details.

privateMetadata ● [MetadataInput!]

Fields required to update the category private metadata. Requires permissions to modify and to read the metadata of the object it's attached to.

Warning: never store sensitive information, including financial data such as credit card details.

Member Of

categoryCreate mutation ● categoryUpdate mutation