code cleanup products api