INPUT_OBJECT

CreateVariantInput

link GraphQL Schema definition

  • input CreateVariantInput {
  • # The product to link this variant to
  • product: BelongsToProduct!
  • # The number of available units of this variant
  • quantity: Int!
  • # The color of the variant
  • color: String
  • # The size of the variant
  • size: String
  • # The weight of the variant, measured in ounces
  • weightOunces: Float!
  • # The price of the variant
  • price: Float
  • # If nonzero, the sale price of the variant
  • salePrice: Float
  • # If present, the price of shipping this variant
  • shippingPrice: Float
  • # If present, the price of the variant if sold via wholesale
  • wholesalePrice: Float
  • }

link Require by