Create new reward
With this endpoint, you can assign a commission generated by a referral, and it will be recorded to the promoter who referred the lead/customer. You can find the referral by lead_id, email, or UID.
If the reward/commission is not generated by a lead/customer, you can assign it directly to a promoter through its promotion. You can find the promotion by promotion_id
or ref_id
.
skip_email_notification
parameter to true
POST https://firstpromoter.com/api/v1/rewards/create
Authorizations
Query Parameters
Lead's id who generated the reward
UID of the lead who generated the reward
Email of the lead who generated the reward.
Promotion id of the promoter who owns the reward
Promotion referral id of the who owns the reward
Type of reward
cash
, points
, credits
, free_months
, discount_per
, discount_mon
Amount of the reward. For reward_type cash
(monetary commission) the amount is in cents
can be approved
(default if this param is omitted), pending
or denied
approved
, pending
, denied
Set this to true
to skip email notifications. Default is false
.
Response
ID of the reward
status of the reward.
approved
, pending
, denied
amount of the reward. For reward_type cash
(monetary commission) the amount is in cents
The reward unit.
cash
, credits
, points
, free_months
ISO date string at which the reward is created
The reward tier level