PublicSupplierVariant
The public version of SupplierVariant. Represents a single SKU. A SupplierVariant is a child of a SupplierProduct (this is a one-to-many relationship, where a SupplierProduct has many SupplierVariants).
type PublicSupplierVariant {
averageShippingCost: Float
contentItemIds: [ID]
cost: Float
externalVariantId: String!
featuredImage: PublicSupplierProductContentItem
handlingCost: SupplierVariantHandlingCost
inventoryPolicy: PublicSupplierVariantInventoryPolicy!
inventoryQuantity: Int!
inventoryStatus: InventoryStatus!
optionValues: [String!]!
supplierId: ID!
supplierProductId: ID!
supplierVariantId: ID!
title: String
}
Fields
PublicSupplierVariant.averageShippingCost
● Float
scalar
PublicSupplierVariant.contentItemIds
● [ID]
list scalar
Associates contentItems with this variant
PublicSupplierVariant.cost
● Float
scalar
PublicSupplierVariant.externalVariantId
● String!
non-null scalar
PublicSupplierVariant.featuredImage
● PublicSupplierProductContentItem
object
PublicSupplierVariant.handlingCost
● SupplierVariantHandlingCost
object
PublicSupplierVariant.inventoryPolicy
● PublicSupplierVariantInventoryPolicy!
non-null enum
PublicSupplierVariant.inventoryQuantity
● Int!
non-null scalar
PublicSupplierVariant.inventoryStatus
● InventoryStatus!
non-null enum
PublicSupplierVariant.optionValues
● [String!]!
non-null scalar
An array of the option values that make up this variant. For example, a product with a color and size option would have two option values, one for each of the color and size options, i.e. ["Red", "Small"] Must have 1-3, and it should match the number of options in the product, but there is no validation to do so. Set this to "No Option" if you don't want to use options for this product and this is the only variant. See https://docs.buildresonance.com/concepts/products/#no-option-products for more info.
PublicSupplierVariant.supplierId
● ID!
non-null scalar
PublicSupplierVariant.supplierProductId
● ID!
non-null scalar
PublicSupplierVariant.supplierVariantId
● ID!
non-null scalar
PublicSupplierVariant.title
● String
scalar
Member of
PublicSupplierVariantConnection
object ● PublicSupplierVariantEdge
object