Skip to main content

Revenue

Revenue metrics for a time window, including current period, prior period, trend, and per-channel breakdown.

type Revenue {
channels: [ChannelRevenue!]!
current: Decimal @deprecated
currentMonetary: MonetaryValue
prior: Decimal @deprecated
priorMonetary: MonetaryValue
trendPercent: Float
}

Fields​

Revenue.channels ● [ChannelRevenue!]! non-null object dashboard​

Revenue broken down by sales channel, sorted by amount descending.

Revenue.current ● Decimal deprecated scalar common​

DEPRECATED

Use currentMonetary instead.

Total revenue in the current period as a decimal amount.

Revenue.currentMonetary ● MonetaryValue object common​

Total revenue in the current period.

Revenue.prior ● Decimal deprecated scalar common​

DEPRECATED

Use priorMonetary instead.

Total revenue in the prior period of equal length as a decimal amount. Null for 30-day windows.

Revenue.priorMonetary ● MonetaryValue object common​

Total revenue in the prior period of equal length. Null for 30-day windows.

Revenue.trendPercent ● Float scalar common​

Percentage change from prior to current period. Null when prior is zero or absent.

Member Of​

Window object