API documentation for the Influencer Hero platform.
/
Update Discount Code
Influencer Hero API (1.4.2)
Download OpenAPI description
Overview
URL
Influencer Hero Support
Languages
Servers
https://api.influencer-hero.com/
Affiliate Tracking
[Advanced] Server-side endpoints for tracking affiliate actions and performance. For most use cases, the client-side tracking script will be sufficient.
Operations
Bodyapplication/jsonrequired
Payload containing information about the new Max Bid request.
Additional details about the Max Bid request.
- https://api.influencer-hero.com/new_max_bid
application/json
{ "webhook_timestamp": "1693427202", "max_bid_information": { "max_bid_comment": "Please provide the highest possible bid for this influencer." }, "deal_info": { "deal_name": "therock", "is_active": true, "dealflow_funnel_step": 3, "dealflow_type": "outreach", "dealflow_name": "Spring Collection Promo", "picture_url": "https://imgp.sptds.icu/v2?mb0KwpL92uYofJiSjDn1%2F6peL1lBwv3s%2BUvShHERlDbrEEwrWumIvR20xZeZXa0LDeIrcniqZeG9S%2F1a5s2Rx3FZdXrWpY%2BmSBJp1l%2FmBGon3rcHA4EfuatZqMhVBzAT", "nr_followers": 60000, "full_name": "Dwayne Johnson", "platform": "instagram", "profile_url": "https://instagram.com/therock" }, "deal_id": "abc123" }
Bodyapplication/jsonrequired
Payload containing information about the updated discount code.
Details about the previous and new discount codes.
- https://api.influencer-hero.com/update_discount_code
application/json
{ "webhook_timestamp": "1693427202", "code_information": { "old_discount_code": "FIT2023", "old_discount_perc": 15, "new_discount_code": "FIT2024", "new_discount_perc": 20 }, "collab_id": "collab987", "deal_info": { "deal_name": "therock", "is_active": true, "dealflow_funnel_step": 3, "dealflow_type": "outreach", "dealflow_name": "Spring Collection Promo", "picture_url": "https://imgp.sptds.icu/v2?mb0KwpL92uYofJiSjDn1%2F6peL1lBwv3s%2BUvShHERlDbrEEwrWumIvR20xZeZXa0LDeIrcniqZeG9S%2F1a5s2Rx3FZdXrWpY%2BmSBJp1l%2FmBGon3rcHA4EfuatZqMhVBzAT", "nr_followers": 60000, "full_name": "Dwayne Johnson", "platform": "instagram", "profile_url": "https://instagram.com/therock" }, "deal_id": "xyz789" }
Bodyapplication/jsonrequired
Payload containing information about the updated custom link.
Details about the previous and new custom link.
The existing target URL for the old custom link.
- https://api.influencer-hero.com/update_custom_link
application/json
{ "webhook_timestamp": "1693427202", "custom_link_information": { "old_custom_link": "/the-old-link", "old_custom_link_target": "https://old.example.com", "new_custom_link": "/the-new-link", "new_custom_link_target": "https://new.example.com" }, "deal_info": { "deal_name": "therock", "is_active": true, "dealflow_funnel_step": 3, "dealflow_type": "outreach", "dealflow_name": "Spring Collection Promo", "picture_url": "https://imgp.sptds.icu/v2?mb0KwpL92uYofJiSjDn1%2F6peL1lBwv3s%2BUvShHERlDbrEEwrWumIvR20xZeZXa0LDeIrcniqZeG9S%2F1a5s2Rx3FZdXrWpY%2BmSBJp1l%2FmBGon3rcHA4EfuatZqMhVBzAT", "nr_followers": 60000, "full_name": "Dwayne Johnson", "platform": "instagram", "profile_url": "https://instagram.com/therock" }, "collab_id": "collab123", "deal_id": "deal321" }