> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/products/llms.txt)
> Source: https://docs.saleor.io/api-reference/products/inputs/category-input

# CategoryInput Input Type

No description

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

<a id="fields"></a>

### Fields

<a id="description"></a>

#### [`description`](#description) ● [`JSONString`](/api-reference/miscellaneous/scalars/jsonstring.md)

Category description.

Rich text format. For reference see [https://editorjs.io/](https://editorjs.io/)

<a id="name"></a>

#### [`name`](#name) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Category name.

<a id="slug"></a>

#### [`slug`](#slug) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Category slug.

<a id="seo"></a>

#### [`seo`](#seo) ● [`SeoInput`](/api-reference/miscellaneous/inputs/seo-input.md)

Search engine optimization fields.

<a id="background-image"></a>

#### [`backgroundImage`](#background-image) ● [`Upload`](/api-reference/miscellaneous/scalars/upload.md)

Background image file.

<a id="background-image-alt"></a>

#### [`backgroundImageAlt`](#background-image-alt) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Alt text for a product media.

<a id="metadata"></a>

#### [`metadata`](#metadata) ● [`[MetadataInput!]`](/api-reference/miscellaneous/inputs/metadata-input.md)

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.

<a id="private-metadata"></a>

#### [`privateMetadata`](#private-metadata) ● [`[MetadataInput!]`](/api-reference/miscellaneous/inputs/metadata-input.md)

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.

<a id="member-of"></a>

### Member Of

[`categoryCreate`](/api-reference/products/mutations/category-create.md) mutation  ● [`categoryUpdate`](/api-reference/products/mutations/category-update.md) mutation
