CustomerJourney

Version 2019-04 (latest)

Represents a customer's activity on a shop's online store.

Required access

read_orders access scope

Show definition
"""
Represents a customer's activity on a shop's online store.
"""
type CustomerJourney {
  """
  The position of the current order within the customer's order history.
  """
  customerOrderIndex: Int!
  """
  The amount of days between first session and order creation date. First
  session represents first session since the last order, or first session within
  the 30 day attribution window, if more than 30 days has passed since the last order.
  """
  daysToConversion: Int!
  """
  The customer's first session going into the shop.
  """
  firstVisit: CustomerVisit!
  """
  The last session before an order is made.
  """
  lastVisit: CustomerVisit
  """
  Events preceding a customer order, such as shop sessions.
  """
  moments: [CustomerMoment!]!
}

Fields

customerOrderIndex (Int!)

The position of the current order within the customer's order history.

daysToConversion (Int!)

The amount of days between first session and order creation date. First session represents first session since the last order, or first session within the 30 day attribution window, if more than 30 days has passed since the last order.

firstVisit (CustomerVisit!)

The customer's first session going into the shop.

lastVisit (CustomerVisit)

The last session before an order is made.

moments ([CustomerMoment!]!)

Events preceding a customer order, such as shop sessions.

Sign up for a Partner account to get started.

Sign up