Skip to main content

CustomerPurchasedProduct

One product this customer bought, with the totals of its qualifying purchases.

type CustomerPurchasedProduct {
lastOrderedAt: ISO8601DateTime!
orderCount: Int!
product: Product!
quantity: Int!
sales: MonetaryValue!
}

Fields​

CustomerPurchasedProduct.lastOrderedAt ● ISO8601DateTime! non-null scalar common​

Most recent qualifying order containing the product.

CustomerPurchasedProduct.orderCount ● Int! non-null scalar common​

Distinct qualifying orders containing the product.

CustomerPurchasedProduct.product ● Product! non-null object products​

The product, including its thumbnail and archived catalog records.

CustomerPurchasedProduct.quantity ● Int! non-null scalar common​

Total purchased quantity across qualifying lines.

CustomerPurchasedProduct.sales ● MonetaryValue! non-null object common​

Line price times quantity less line discounts, in company currency.

Member Of​

CustomerPurchasedProductConnection object ● CustomerPurchasedProductEdge object