N.Y. Agriculture & Markets Law § 500-E
The commissioner and such commissioner's duly authorized representatives in the performance of their licensing and inspection duties under this article shall have access to and may enter at all reasonable hours all places where food or food products are being offered for sale or stored, or where food or food products are being bought, sold or handled for retail or wholesale.