Promo Codes
Update promo code by id
Update promo code by id. Can not be updated if archived and ext_id present.
HTTP Request
PUT https://v2.firstpromoter.com/api/v2/company/promo_codes/{id}
PUT
Authorizations
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
Headers
Account id. You can find your Account ID on Your FirstPromoter Dashboard. Navigate to Settings → Integrations
Path Parameters
ID of the promo code
Body
application/json
Response
200
application/json
Updated promo code
The response is of type object
.