Yes, the charging connector is modular. If you're iPhone is under warranty then for sure take it to the Apple store. And if not they might still give a good price for fixing it. I have had good luck when taking my devices to the Apple store.
you can take it to the store or there are plenty of other cellphone repair stores
Just in case I recommend going to them. They should be able to replace it because if it is new they should help you with that.
There are plenty of phone repair shops in the Sherman Oaks area, and used one on Ventura Boulevard. Quick and reasonable pricing.
Thanks! Your answer is awaiting moderation.