Update promo code by id. Can not be updated if archived and ext_id present.
PUT https://v2.firstpromoter.com/api/v2/company/promo_codes/{id}
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
ID of the promo code
Updated promo code
The response is of type object
.