Skip to main content

ProductTypeInput

No description

input ProductTypeInput {
name: String
slug: String
description: String
descriptionHtml: String
isPriceOverrideAllowed: Boolean
productAttributes: [ID!]
variantAttributes: [ID!]
isShippingRequired: Boolean
isDigital: Boolean
isLocked: Boolean
weight: WeightScalar
taxCode: String
createdBy: String
}

Fields

ProductTypeInput.name ● String scalar

Name of the product type.

ProductTypeInput.slug ● String scalar

Product type slug.

ProductTypeInput.description ● String scalar

Product type description (plaintext, read-only).

ProductTypeInput.descriptionHtml ● String scalar

Product type description (html).

ProductTypeInput.isPriceOverrideAllowed ● Boolean scalar

Allow variant price to be overridden for products in this product type in the checkout or in draft orders.

ProductTypeInput.productAttributes ● [ID!] list scalar

List of attributes shared among all product variants.

ProductTypeInput.variantAttributes ● [ID!] list scalar

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

ProductTypeInput.isShippingRequired ● Boolean scalar

Determines if shipping is required for products of this variant.

ProductTypeInput.isDigital ● Boolean scalar

Determines if products are digital.

ProductTypeInput.isLocked ● Boolean scalar

Determines if attributes could be added to the products and variants.

ProductTypeInput.weight ● WeightScalar scalar

Weight of the ProductType items.

ProductTypeInput.taxCode ● String scalar

Tax rate for enabled tax gateway.

ProductTypeInput.createdBy ● String scalar

ID of the Seller that created the Product Type, or null if Marketplace Operator

Member Of

productTypeCreate mutation ● productTypeUpdate mutation

Was this page helpful?