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
costType: CostTypeEnum!
createdAt: ISO8601DateTime!
deletedAt: ISO8601DateTime @deprecated
dutiesCost: MonetaryValue
effectiveDate: ISO8601DateTime!
freightCost: MonetaryValue
id: ID!
laborCost: MonetaryValue
landedCost: MonetaryValue
leadTime: Int
materialsCost: MonetaryValue
orderQuantity: Int!
packagingCost: MonetaryValue
product: Product!
productId: ID!
supplier: SupplySupplier
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.costType ● CostTypeEnum! non-null enum products
Whether this is a standard supplier cost or a drop-ship cost.
ProductCost.createdAt ● ISO8601DateTime! non-null scalar common
ProductCost.deletedAt ● ISO8601DateTime deprecated scalar common
Use archived_at instead. This field will be removed in the future.
ProductCost.dutiesCost ● MonetaryValue object common
Duties and tariffs. Counts towards the landed cost.
ProductCost.effectiveDate ● ISO8601DateTime! non-null scalar common
ProductCost.freightCost ● MonetaryValue object common
Inbound freight. Counts towards the landed cost.
ProductCost.id ● ID! non-null scalar common
ProductCost.laborCost ● MonetaryValue object common
Informational. Nothing sums this into the unit cost.
ProductCost.landedCost ● MonetaryValue object common
Unit cost plus freight and duties. Null when none of the three is set.
ProductCost.leadTime ● Int scalar common
Days the supplier takes to deliver. Null when not specified.
ProductCost.materialsCost ● MonetaryValue object common
Informational. Nothing sums this into the unit cost.
ProductCost.orderQuantity ● Int! non-null scalar common
ProductCost.packagingCost ● MonetaryValue object common
Informational. Nothing sums this into the unit cost.
ProductCost.product ● Product! non-null object products
The product associated with this cost
ProductCost.productId ● ID! non-null scalar common
ProductCost.supplier ● SupplySupplier object suppliers
The supplier this cost belongs to. Null when the estimate is your own rather than a supplier quote.
ProductCost.unitCost ● MonetaryValue object common
The cost of the goods. Null on an estimate that records only a breakdown.
ProductCost.updatedAt ● ISO8601DateTime! non-null scalar common
Member Of
Product object