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

# ProductTypeInput Input Type

No description

```graphql
input ProductTypeInput {
  name: String
  slug: String
  kind: ProductTypeKindEnum
  hasVariants: Boolean @deprecated
  productAttributes: [ID!]
  variantAttributes: [ID!]
  isShippingRequired: Boolean
  isDigital: Boolean
  weight: WeightScalar
  taxCode: String @deprecated
  taxClass: ID
}
```

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

### Fields

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

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

Name of the product type.

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

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

Product type slug.

<a id="kind"></a>

#### [`kind`](#kind) ● [`ProductTypeKindEnum`](/api-reference/products/enums/product-type-kind-enum.md)

The product type kind.

<a id="product-attributes"></a>

#### [`productAttributes`](#product-attributes) ● [`[ID!]`](/api-reference/miscellaneous/scalars/id.md)

List of attributes shared among all product variants.

<a id="variant-attributes"></a>

#### [`variantAttributes`](#variant-attributes) ● [`[ID!]`](/api-reference/miscellaneous/scalars/id.md)

List of attributes used to distinguish between different variants of a product.

<a id="is-shipping-required"></a>

#### [`isShippingRequired`](#is-shipping-required) ● [`Boolean`](/api-reference/miscellaneous/scalars/boolean.md)

Determines if shipping is required for products of this variant.

<a id="is-digital"></a>

#### [`isDigital`](#is-digital) ● [`Boolean`](/api-reference/miscellaneous/scalars/boolean.md)

Determines if products are digital - doesn't have any effect, it's present for backward-compatibility.

<a id="weight"></a>

#### [`weight`](#weight) ● [`WeightScalar`](/api-reference/miscellaneous/scalars/weight-scalar.md)

Weight of the ProductType items.

<a id="tax-class"></a>

#### [`taxClass`](#tax-class) ● [`ID`](/api-reference/miscellaneous/scalars/id.md)

ID of a tax class to assign to this product type. All products of this product type would use this tax class, unless it's overridden in the `Product` type.

Show deprecatedHide deprecated

<a id="has-variants"></a>

#### [`hasVariants`](#has-variants) ● [`Boolean`](/api-reference/miscellaneous/scalars/boolean.md)

DEPRECATED

The field has no effect on the API behavior. This is a leftover from the past Simple/Configurable product distinction. Products can have multiple variants regardless of this setting.

Determines if product of this type has multiple variants. This option mainly simplifies product management in the dashboard. There is always at least one variant created under the hood.

<a id="tax-code"></a>

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

DEPRECATED

Use tax classes to control the tax calculation for a product type. If taxCode is provided, Saleor will try to find a tax class with given code (codes are stored in metadata) and assign it. If no tax class is found, it would be created and assigned.

Tax rate for enabled tax gateway.

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

### Member Of

[`productTypeCreate`](/api-reference/products/mutations/product-type-create.md) mutation  ● [`productTypeUpdate`](/api-reference/products/mutations/product-type-update.md) mutation
