Magento 1.x custom customer attribute not visible in REST API2 Attributes ACL, while custom customer address attribute is visible.
To debug why attribute does not show up on the ACL from REST Attributes page in Magento backend, we need to look at b/app/code/core/Mage/Api2/Model/Resource.php in getEavAttributes() method. You can log here and see why it gets dropped off.
Usually it’s because your attribute is defined as is_system.
The trick is that getEavAttributes() for customer is called with excludeSystem = true for customer, and false for customer_address, hence the reason why the attribute shows in list for address, but not for customer.
To fix, create an upgrade script and set is_system value to 0 for your attributes.