Generate subscription offer codes programmatically

Recently i got to know the we can create Subscription offer codes for marketing campaigns and others. I went through the documentation which explains how to generate this codes from app store connect but is there any way to generate this offer codes programmatically from our backend servers whenever we want?




Any answers?

Generate subscription offer codes programmatically
 
 
Q