Apologies if I can’t quote this, but that’s not an option on an iPhone.
https://www.apple.com/legal/sales-support/terms/repair/generalservice/
General Service
These terms apply to the service of Apple products requested through the Apple Global Online Support (AGOS) site and Apple Contact Center, **that is not covered by Apple's warranty, AppleCare Protection Plan or statutory warranty rights**.
Then select a language:
https://www.apple.com/legal/sales-support/terms/repair/generalservice/servicetermsen/
3.1 Service Warranty. For all service orders, Apple warrants that (1) services performed will conform to their description for ninety (90) days from the date of service, (2) except for batteries described in the subsection below, all parts or products used in service will be free from defects in materials and workmanship for ninety (90) days from the date of service, and (3) batteries installed as part of Apple’s battery replacement service for Apple portable Mac computers will be free from defects in materials and workmanship for one year from the date of service. This warranty is an express limited warranty. If non-conforming service is provided or a defect arises in a replacement part or product during the applicable warranty period, Apple will at its option, either (a) re-perform services to conform to their description (b) repair or replace the part or product, using parts or products that are new or equivalent to new in performance and reliability, or (c) refund the sums paid to Apple for service.