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 @deprecated
effectiveDate: ISO8601DateTime!
id: ID!
leadTime: Int!
orderQuantity: Int!
product: Product!
productId: ID!
unitCost: MonetaryValue!
updatedAt: ISO8601DateTime!
}

Fields

ProductCost.archivedAt ● ISO8601DateTime scalar

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

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

ProductCost.createdAt ● ISO8601DateTime! non-null scalar

ProductCost.deletedAt ● ISO8601DateTime deprecated scalar

DEPRECATED

Use archived_at instead. This field will be removed in the future.

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