INPUT_OBJECT

ProductVariantCreateInput

link GraphQL Schema definition

  • input ProductVariantCreateInput {
  • # List of attributes specific to this variant.
  • attributes: [AttributeValueInput]!
  • # Cost price of the variant.
  • costPrice: Decimal
  • # Special price of the particular variant.
  • priceOverride: Decimal
  • # Stock keeping unit.
  • sku: String
  • # The total quantity of this variant available for sale.
  • quantity: Int
  • # Determines if the inventory of this variant should be
  • # tracked. If false, the quantity won't change when customers
  • # buy this item.
  • trackInventory: Boolean
  • # Weight of the Product Variant.
  • weight: WeightScalar
  • # Product ID of which type is the variant.
  • product: ID!
  • }

link Require by