OBJECT
Variant
A unique option type/option value combination that represents a variation of a purchasable item.
link GraphQL Schema definition
- type Variant implements Node {
- # A message from the organisation responsible for therapeutic goods labelling.
- String :
- # Associated advert
- AllAdvert! :
- # The ingredients always in this item that cause allergic reactions.
- String :
- # The ingredients possibly in this item that cause allergic reactions.
- String :
- String :
- # Whether an item associated with the given variant can be added to cart.
- Boolean! :
- CatalogRulesError!] : [
- # The comparable size of the item. Used for comparable unit pricing.
- Float :
- # The comparable unit used to measure the item. Used for comparable unit pricing.
- String :
- # Number of items available with a given variant.
- Int! :
- # The date the variant was created Only accessible to users: admin_authorized. And
- # admin users with permissions: 'Manage product catalog', 'Full GraphQL API
- # access'.
- ISO8601DateTime! :
- # Usage instructions for the item.
- String :
- # Whether to display the given variant in the associated advert.
- Boolean! :
- # Links to adverts with the same barcode as this variant. Only accessible to
- # users: admin_authorized. And admin users with permissions: 'Manage product
- # catalog', 'Full GraphQL API access'.
- Advert!]! : [
- # Links to variants with the same barcode as this variant. Only accessible to
- # users: admin_authorized. And admin users with permissions: 'Manage product
- # catalog', 'Full GraphQL API access'.
- Variant!]! : [
- # Price used for editing by sellers
- Decimal :
- # Price used for editing by sellers Denominated in cents.
- Int @deprecated( reason: "Prices can be larger than is representable by a graphql integer. Use the string version instead. This field will be removed no earlier than July 1st, 2025.
" ) :
- # Price used for editing by sellers In string with currency symbol.
- #
- # Arguments
- # currency: Currency in which to display money fields. Defaults
- # to the currency of the marketplace's home country.
- String): String ( :
- # Price used for editing by sellers
- Decimal :
- # Price used for editing by sellers Denominated in cents.
- Int @deprecated( reason: "Prices can be larger than is representable by a graphql integer. Use the string version instead. This field will be removed no earlier than July 1st, 2025.
" ) :
- # Price used for editing by sellers In string with currency symbol.
- #
- # Arguments
- # currency: Currency in which to display money fields. Defaults
- # to the currency of the marketplace's home country.
- String): String ( :
- # An ID that is managed the retailer.
- String :
- ExternalID!]! : [
- # Golden Product Variant associated to this variant
- GoldenProductVariant :
- # The health warnings of the item.
- String :
- ID! :
- # Arguments
- # after: Returns the elements in the list that come after the
- # specified cursor.
- # before: Returns the elements in the list that come before the
- # specified cursor.
- # first: Returns the first _n_ elements from the list.
- # last: Returns the last _n_ elements from the list.
- String, : String, : Int, : Int): ImagesConnection! ( :
- # Whether the quantity for the given variant is unlimited.
- Boolean! :
- # The ingredients in the item.
- String :
- # The intended purpose of the item.
- String :
- # support multi-store location inventory
- #
- # Arguments
- # after: Returns the elements in the list that come after the
- # specified cursor.
- # before: Returns the elements in the list that come before the
- # specified cursor.
- # first: Returns the first _n_ elements from the list.
- # last: Returns the last _n_ elements from the list.
- String, : String, : Int, : Int): InventorysConnection ( :
- # The size of the item. Used for comparable unit pricing.
- Float :
- # The individual item tax rate on variant.
- Decimal :
- # The unit used to measure the item. Used for comparable unit pricing.
- String :
- # The displayable label for the variant. Includes variant type and value (e.g.
- # "size / M"). Falls back to SKU if no option values set, ID if no SKU is set.
- String! :
- Int! :
- # Lowest non-sale price available for the item.
- String :
- # Lowest non-sale price available for the item. Denominated in cents.
- Int @deprecated( reason: "Prices can be larger than is representable by a graphql integer. Use lowestOriginalPrice instead. This field will be removed no earlier than July 1st, 2025." ) :
- # Absolute lowest price (sale price or original price) available for the item.
- String :
- # Absolute lowest price (sale price or original price) available for the item.
- # Denominated in cents.
- Int @deprecated( reason: "Prices can be larger than is representable by a graphql integer. Use lowestPrice instead. This field will be removed no earlier than July 1st, 2025." ) :
- # Maximum purchase quantity allowed for successful checkout
- Int :
- # Measure type of how is the item supplied.
- String :
- # Comparable Unit as a Configurable Unit of Measure
- MeasurementUnit :
- # Item Unit as a Configurable Unit of Measure
- MeasurementUnit :
- # Metadata key/values
- Metadatum!]! : [
- # Minimum purchase quantity required for successful checkout
- Int :
- String :
- # The nutritional profile of the item.
- String :
- # This field returns option values from single-select and multi-select option
- # types.
- #
- # Arguments
- # after: Returns the elements in the list that come after the
- # specified cursor.
- # before: Returns the elements in the list that come before the
- # specified cursor.
- # first: Returns the first _n_ elements from the list.
- # last: Returns the last _n_ elements from the list.
- (
- String, :
- String, :
- Int, :
- Int :
- ): OptionValueConnection! @deprecated( reason: "This field is deprecated in favour of VariantOptionValues." )
- # Option value labels before being mapped to canonical option values. (Includes
- # the original values for both unmapped and mapped option values)
- String!]! : [
- # Boolean for whether a variant is valid, where a variant is valid if it has a
- # barcode, has a sku which is not longer than 255 characters, has a count_on_hand
- # which is an integer greater than zero, has a price and a sale_price which is
- # greater than zero unless free adverts are enabled, has a description which is
- # not longer than 140 characters, where the sale_price is less than the price, the
- # options values are unique, and the option values match the expected values for
- # this prototype.
- Boolean! :
- # Pricing model of the variant
- PricingModelEnum! :
- # The product warnings of the item.
- String :
- # Whether seller published a variant.
- Boolean! :
- # The recommended retail price (RRP) for the item.
- String :
- # The recommended retail price (RRP) for the item. Denominated in cents.
- Int @deprecated( reason: "Prices can be larger than is representable by a graphql integer. Use the string version instead. This field will be removed no earlier than July 1st, 2025.
" ) :
- # The recommended retail price (RRP) for the item. In string with currency symbol.
- #
- # Arguments
- # currency: Currency in which to display money fields. Defaults
- # to the currency of the marketplace's home country.
- (
- String :
- ): String
- # End of the period in which the sale price is valid (or null)
- ISO8601DateTime :
- # Start of the period in which the sale price is valid (or null)
- ISO8601DateTime :
- # Shipping options available for the variant
- #
- # Arguments
- # after: Returns the elements in the list that come after the
- # specified cursor.
- # before: Returns the elements in the list that come before the
- # specified cursor.
- # first: Returns the first _n_ elements from the list.
- # last: Returns the last _n_ elements from the list.
- String, : String, : Int, : Int): ShippingOptionConnection ( :
- # The direct shipping parcel information for the variant.
- ShippingParcel :
- # Either a direct parcel information or inferred from taxon
- ShippingParcel :
- ShippingProfile :
- # The shipping profile ID for the variant.
- ID :
- String :
- # "Internal" or "External"
- String :
- # How to store the item.
- String :
- # The suitability of the item for various ailments.
- String :
- String :
- # The date the variant was last updated Only accessible to users:
- # admin_authorized. And admin users with permissions: 'Manage product catalog',
- # 'Full GraphQL API access'.
- ISO8601DateTime! :
- String :
- # This field returns option type values set to the variant.
- #
- # Arguments
- # after: Returns the elements in the list that come after the
- # specified cursor.
- # before: Returns the elements in the list that come before the
- # specified cursor.
- # first: Returns the first _n_ elements from the list.
- # last: Returns the last _n_ elements from the list.
- (
- String, :
- String, :
- Int, :
- Int :
- ): VariantOptionValueConnection!
- # The wholesale price for the item.
- String :
- # The wholesale price for the item. Denominated in cents.
- Int @deprecated( reason: "Prices can be larger than is representable by a graphql integer. Use the string version instead. This field will be removed no earlier than July 1st, 2025.
" ) :
- # The wholesale price for the item. In string with currency symbol.
- #
- # Arguments
- # currency: Currency in which to display money fields. Defaults
- # to the currency of the marketplace's home country.
- String): String ( :
- # Wholesale promo price of the variant
- Decimal :
- # Wholesale promo price of the variant Denominated in cents.
- Int @deprecated( reason: "Prices can be larger than is representable by a graphql integer. Use the string version instead. This field will be removed no earlier than July 1st, 2025.
" ) :
- # End of the period in which the wholesale promo price is valid (or null)
- ISO8601DateTime :
- # Wholesale promo price of the variant In string with currency symbol.
- #
- # Arguments
- # currency: Currency in which to display money fields. Defaults
- # to the currency of the marketplace's home country.
- String): String ( :
- # Start of the period in which the wholesale promo price is valid (or null)
- ISO8601DateTime :
- }
link Require by
- LineItemLine items associated with a cart or order.
- PurchasableA product, service, event ticket, reservation, etc. that can be purchased or hired.
- VariantA unique option type/option value combination that represents a variation of a purchasable item.
- VariantConnectionThe connection type for Variant.
- VariantDeleteMutationPayloadAutogenerated return type of VariantDeleteMutation.
- VariantEdgeAn edge in a connection.
- VariantsConnectionThe connection type for Variant.
- VariantsEdgeAn edge in a connection.
- VariantUpdateMutationPayloadAutogenerated return type of VariantUpdateMutation.