Skip to main content
PUT
cURL
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.

Authorizations

X-API-KEY
string
header
required

Query Parameters

id
string

required if the event_id is null

Id of the reward inside FirstPromoter

event_id
string

required if the id is null

Id of the event that generated the reward

status
enum<string>

New status of the reward

Available options:
approved,
pending,
denied

Response

Update reward response

id
number

ID of the reward

status
enum<string>

status of the reward.

Available options:
approved,
pending,
denied
amount
integer

amount of the reward

unit
enum<string>

The reward unit.

Available options:
cash,
credits,
points,
free_months
created_at
string

ISO date string at which the reward is created

lead
any
event_id
string
conversion_amount
integer
tier_level
integer

The reward tier level

promoter
object
promotion
object