Three items measure a customer's desire and intention to remain with their current service provider, including absence of search behaviour and valuation of the relationship.
Patterson, P. G., & Smith, T. (2003). A cross-cultural study of switching barriers and propensity to stay with service providers. Journal of Retailing, 79(2), 107–120.
Free access to 2023+ psychometric scales at PsychScales