Skip to main content

CustomerCadence

How regularly the customer orders and whether they are late by their own standard. It looks at the whole order history up to the end of the period.

type CustomerCadence {
daysSinceLastOrder: Int
enough: Boolean!
expectedNextOrderAt: DateTime
gaps: [CustomerGapPoint!]!
historyOrderCount: Int!
longestGapDays: Float
medianGapDays: Float
}

Fields​

CustomerCadence.daysSinceLastOrder ● Int scalar​

Whole days from the last committed order to the end of the period. It is set even when there is too little history to read a rhythm.

CustomerCadence.enough ● Boolean! non-null scalar​

True when a rhythm can be read: at least 3 orders and a median gap of at least a day. Otherwise the rhythm figures are empty.

CustomerCadence.expectedNextOrderAt ● DateTime scalar​

The last order plus the median gap. It may be in the past, which is the finding.

CustomerCadence.gaps ● [CustomerGapPoint!]! non-null object​

The gaps between orders that closed inside the period. Empty unless enough is true.

CustomerCadence.historyOrderCount ● Int! non-null scalar​

How many committed orders there are up to the end of the period, over the whole relationship.

CustomerCadence.longestGapDays ● Float scalar​

The longest gap between orders, in days.

CustomerCadence.medianGapDays ● Float scalar​

The median days between orders. Empty unless enough is true.

Member Of​

CustomerInsights object