I found List/Get in-app purchase API in the document. But oddly there is no API for creating in-app purchases?
https://developer.apple.com/documentation/appstoreconnectapi/list_all_in-app_purchases_for_an_app
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
App Store Connect
In-App Purchase