In case you have the “Auto-approve rewards” checked for the campaign, the webhook will be fired right after the reward is attributed.
To utilize the ‘fulfilment_pending’ webhook in FirstPromoter, follow these steps:
How to respond to this webhook call:
Respond with status 200 if you fulfilled the reward on your end.
Respond with a 2xx status (except 200) to keep the fulfilment marked as pending on FirstPromoter’s end.
Respond with any other status to indicate an error (FirstPromoter will retry for 7 times during the day).
Indicates the webhook event type, such as fulfilment_pending
.
Timestamp of when the event occurred.
The status of the reward.
The date and time the reward was created
Whether the reward has issues
The per of sale of the reward
The default promo code of the reward
The status of the promoter
The customer id of the promoter
The email of the promoter
The date the promoter was created
The temporary password of the promoter
The default promotion id of the promoter
The default referral id of the promoter
The note saved on the promoter profile by an admin
The w8 form url saved on the promoter profile by an admin
The w9 form url saved on the promoter profile by an admin
The parent promoter id of the promoter
The earnings balance of the promoter
The current balance of the promoter
The paid balance of the promoter
The auth token of the promoter
The first name of the profile
The last name of the profile
The website of the profile
The company name of the profile
The phone number of the profile
The address of the profile
The vat id of the profile
The country of the profile
The paypal email of the profile
The avatar url of the profile
The description of the profile
The url of the social account
The url of the social account
The url of the social account
The url of the social account
The url of the social account
The url of the social account
The url of the social account