If a new (still shrink wrapped) Apple product is purchased on ebay is there a way of accessing the warranty?

thanks and Best wishes
edward