CCAPM is different from the traditional CAPM. Here is the 'root' formula of the consumption-based model of asset pricing:
p = E(m x) = E(x* x) = <x*, x>
p - the asset price
m - stochastic discount factor
x - payoff
x* - the unique discount factor in the payoff space X.
This video explains it in details.