Skip to main content

ProductMargin

The margin of one product.

type ProductMargin {
cost: Float!
marginPct: Float!
name: String!
productId: ID!
revenue: Float!
}

Fields​

ProductMargin.cost ● Float! non-null scalar​

The cost of what was sold.

ProductMargin.marginPct ● Float! non-null scalar​

The margin as a percent of revenue.

ProductMargin.name ● String! non-null scalar​

The name of the product.

ProductMargin.productId ● ID! non-null scalar​

The ID of the product.

ProductMargin.revenue ● Float! non-null scalar​

The revenue.

Member Of​

MarginSummary object