cURL
Rewards
Update a reward or commission
You can use this endpoint to change the status of a reward or commission. You can identify the reward or commission by its id or the id of the event that generated the reward.
For Stripe, Recurly and Chargebee subscription the
event_id value is the Invoice id, for Stripe one time charges is the charge id.PUT
cURL
Documentation Index
Fetch the complete documentation index at: https://docs.firstpromoter.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Query Parameters
required if the event_id is null
Id of the reward inside FirstPromoter
required if the id is null
Id of the event that generated the reward
New status of the reward
Available options:
approved, pending, denied Response
Update reward response
ID of the reward
status of the reward.
Available options:
approved, pending, denied amount of the reward. For reward_type cash(monetary commission) the amount is in cents
The reward unit.
Available options:
cash, credits, points, free_months ISO date string at which the reward is created
The reward tier level