Discount
Remove Discount
Changed onHard-delete a discount. Only a discount that has NOT been applied to an order can be deleted; a used discount returns 422 (expire it with expired: true instead, to preserve its order history).
A discount enters that state through an applied-discount record, written when a buyer redeems the code at checkout or when a ClickFunnels user applies it in the admin UI. A code an integration created and never published carries none of those records, so it is always deletable.
delete/discounts/{id}
Request
- Base URLhttps://myworkspace.myclickfunnels.com/api/v2
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://accounts.myclickfunnels.com/oauth/authorizeToken URLhttps://accounts.myclickfunnels.com/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Response
No Content
Changes
- info
endpoint added
- info