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 @deprecated
effectiveDate: ISO8601DateTime!
id: ID!
leadTime: Int!
orderQuantity: Int!
product: Product!
productId: ID!
unitCost: MonetaryValue!
updatedAt: ISO8601DateTime!
}
Fields
ProductCost.archivedAt ● ISO8601DateTime scalar common
The "Archived At" field denotes the date and time that the product cost was archived. If the product cost has not been archived, this field will be null.
ProductCost.costable ● ProductCostable! non-null union products
The entity this cost is associated with (e.g., ProductSupplierType)
ProductCost.createdAt ● ISO8601DateTime! non-null scalar common
ProductCost.deletedAt ● ISO8601DateTime deprecated scalar common
DEPRECATED
Use archived_at instead. This field will be removed in the future.
ProductCost.effectiveDate ● ISO8601DateTime! non-null scalar common
ProductCost.id ● ID! non-null scalar common
ProductCost.leadTime ● Int! non-null scalar common
ProductCost.orderQuantity ● Int! non-null scalar common
ProductCost.product ● Product! non-null object products
The product associated with this cost
ProductCost.productId ● ID! non-null scalar common
ProductCost.unitCost ● MonetaryValue! non-null object common
ProductCost.updatedAt ● ISO8601DateTime! non-null scalar common
Member Of
Product object