Skip to main content

CustomerSpend

The customer's spend.

type CustomerSpend {
avgOrder: Float!
byMonth: [CustomerMonthPoint!]!
changePct: Float
comparisonAvgOrder: Float!
comparisonOrderCount: Int!
comparisonOrderValue: Float!
comparisonTotal: Float!
orderCount: Int!
orderValue: Float!
total: Float!
}

Fields​

CustomerSpend.avgOrder ● Float! non-null scalar​

The committed order value divided by the committed order count. 0 when there are none.

CustomerSpend.byMonth ● [CustomerMonthPoint!]! non-null object​

Invoiced value by month. The months add up to the total.

CustomerSpend.changePct ● Float scalar​

The change against the comparison period, in percent. Empty when that period is empty.

CustomerSpend.comparisonAvgOrder ● Float! non-null scalar​

The average order value in the comparison period.

CustomerSpend.comparisonOrderCount ● Int! non-null scalar​

How many committed orders there were in the comparison period.

CustomerSpend.comparisonOrderValue ● Float! non-null scalar​

The value of the committed orders in the comparison period.

CustomerSpend.comparisonTotal ● Float! non-null scalar​

The same total over the comparison period.

CustomerSpend.orderCount ● Int! non-null scalar​

How many committed orders there were in the period.

CustomerSpend.orderValue ● Float! non-null scalar​

The value of the committed orders in the period, in the base currency. The average order is this divided by the order count; it differs from the invoiced total by whatever is ordered but not yet invoiced.

CustomerSpend.total ● Float! non-null scalar​

The total of issued sales invoices in the period, in the base currency. This is invoiced value; the value of the orders placed in the period is orderValue.

Member Of​

CustomerInsights object