Promo 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}
Request
- Base URLhttps://api.firstpromoter.com/api/v2/company
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
Changes
No recorded changes to this operation across all 1 revision of this API.