v1
latestOpenAPI 3.0.02026-07-264731126.7 KBPromo Codes
Update promo code by id
Update promo code by id. Can not be updated if archived and ext_id present. <Tip>HTTP Request <br/>PUT https://api.firstpromoter.com/api/v2/company/promo_codes/{id}</Tip>
put/promo_codes/{id}
Path parameters
idinteger required
ID of the promo code
Headers
Account-IDstring required
Account id. You can find your Account ID on Your FirstPromoter Dashboard. Navigate to Settings → Integrations
Request body
Response
Updated promo code