ProductTypeInput Input Type
No description
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
}
Fields
name ● String
Name of the product type.
slug ● String
Product type slug.
kind ● ProductTypeKindEnum
The product type kind.
productAttributes ● [ID!]
List of attributes shared among all product variants.
variantAttributes ● [ID!]
List of attributes used to distinguish between different variants of a product.
isShippingRequired ● Boolean
Determines if shipping is required for products of this variant.
isDigital ● Boolean
Determines if products are digital.
weight ● WeightScalar
Weight of the ProductType items.
taxClass ● ID
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 deprecated
Member Of
productTypeCreate mutation ● productTypeUpdate mutation