Skip to main content

ProductCost

Represents a product cost record associated with a supplier at a specific order quantity. Cost records track pricing tiers based on order volume and can be used for historical cost analysis.

type ProductCost {
archivedAt: ISO8601DateTime
costable: ProductCostable!
createdAt: ISO8601DateTime!
deletedAt: ISO8601DateTime
effectiveDate: ISO8601DateTime!
id: ID!
leadTime: Int!
orderQuantity: Int!
product: Product!
productId: ID!
unitCost: MonetaryValue!
updatedAt: ISO8601DateTime!
}

Fields

ProductCost.archivedAt ● ISO8601DateTime scalar

ProductCost.costable ● ProductCostable! non-null union

The entity this cost is associated with (e.g., ProductSupplierType)

ProductCost.createdAt ● ISO8601DateTime! non-null scalar

ProductCost.deletedAt ● ISO8601DateTime scalar

ProductCost.effectiveDate ● ISO8601DateTime! non-null scalar

ProductCost.id ● ID! non-null scalar

ProductCost.leadTime ● Int! non-null scalar

ProductCost.orderQuantity ● Int! non-null scalar

ProductCost.product ● Product! non-null object

The product associated with this cost

ProductCost.productId ● ID! non-null scalar

ProductCost.unitCost ● MonetaryValue! non-null object

ProductCost.updatedAt ● ISO8601DateTime! non-null scalar

Member Of

Product object