With this endpoint you can create a new promo code.
POST https://v2.firstpromoter.com/api/v2/company/promo_codes
API key passed as a Bearer token in the Authorization header. You can find your API Key on Your FirstPromoter Dashboard. Navigate to Settings → Integrations section → Manage API Keys
Account id. You can find your Account ID on Your FirstPromoter Dashboard. Navigate to Settings → Integrations
Created promo code
The response is of type object
.