An attribute is a property of an entity that can be used in various Magento 2 store’s function. Create custom customer attribute in Magento 2 with the programmatic method.
Attachment 15455
Visit https://meetanshi.com/blog/create-cu...-in-magento-2/ for the complete method