Skip to main content

VariantInput

type VariantInput {
id: ID
attributes: [ProductAttributeValueInput!]
barcodeList: [String!]
bundleSettings: BundleSettingsInput
fileId: String
hsCode: String
images: [ProductImageInput!]
isActive: Boolean!
prices: [ProductPriceInput!]!
sellIfOutOfStock: Boolean
sku: String
unit: VariantUnitModelInput
variantValueIds: [VariantValueRelationInput!]
weight: Float
}

Fields

idID
barcodeList[String!]
bundleSettingsBundleSettingsInput
fileIdString
hsCodeString
isActiveBoolean!required
prices[ProductPriceInput!]!required
sellIfOutOfStockBoolean
weightFloat