Skip to main content

VariantSupplierVariant

A VariantSupplierVariant has a 1:1 relationship with a SupplierVariant. VariantSupplierVariants are the Demand window into the SupplierVariant and can be used to determine inventory and cost as well as for assigning OrderItems. Each VariantSupplierVariant has a parent Variant,

type VariantSupplierVariant {
averageShippingCost: Float
cost: Float
createdAt: String!
demandHqId: ID!
handlingCost: VariantSupplierVariantHandlingCost
inventoryPolicy: InventoryPolicy!
inventoryQuantity: Int!
productId: ID!
supplierId: ID!
supplierProductId: ID!
supplierVariantId: ID!
updatedAt: String!
updatedBy: ID!
variantId: ID!
}

Fields

VariantSupplierVariant.averageShippingCost ● Float scalar

A calculated metric for some kind of average for a common region. Uncommon. Must be a positive number.

VariantSupplierVariant.cost ● Float scalar

COGS, or Cost of Goods Sold for this VariantSupplierVariant Must be a positive number.

VariantSupplierVariant.createdAt ● String! non-null scalar

VariantSupplierVariant.demandHqId ● ID! non-null scalar

VariantSupplierVariant.handlingCost ● VariantSupplierVariantHandlingCost object

Additional warehouse handling charge, typically for larger items.

VariantSupplierVariant.inventoryPolicy ● InventoryPolicy! non-null enum

VariantSupplierVariant.inventoryQuantity ● Int! non-null scalar

VariantSupplierVariant.productId ● ID! non-null scalar

Id of the Product the parent Variant is associated with

VariantSupplierVariant.supplierId ● ID! non-null scalar

Id of the Supplier for the associated SupplierVariant

VariantSupplierVariant.supplierProductId ● ID! non-null scalar

Id of the SupplierProduct for the associated SupplierVariant

VariantSupplierVariant.supplierVariantId ● ID! non-null scalar

Id of the SupplierVariant

VariantSupplierVariant.updatedAt ● String! non-null scalar

VariantSupplierVariant.updatedBy ● ID! non-null scalar

VariantSupplierVariant.variantId ● ID! non-null scalar

Id of the parent Variant

Returned by

createVariantSupplierVariant mutation ● variantSupplierVariant query

Member of

Variant object ● VariantSupplierVariantConnection object ● VariantSupplierVariantEdge object