INPUT_OBJECT

ProductTypeInput

link GraphQL Schema definition

  • input ProductTypeInput {
  • # Name of the product type.
  • name: String
  • # 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.
  • hasVariants: Boolean
  • # List of attributes shared among all product variants.
  • productAttributes: [ID]
  • # List of attributes used to distinguish between different variants of
  • # a product.
  • variantAttributes: [ID]
  • # Determines if shipping is required for products of this variant.
  • isShippingRequired: Boolean
  • # Determines if products are digital.
  • isDigital: Boolean
  • # Weight of the ProductType items.
  • weight: WeightScalar
  • # Tax rate for enabled tax gateway.
  • taxCode: String
  • }

link Require by