The id or email of the related user. (Optional in case affiliate_id is set).
The id or email of the related affiliate. (Optional in case user_id is set).
The ip of the person who should be assigned to the visit. (Will be anonymized in case IP logging is disabled within AffiliateWP).
Set a visit campaign. This can be a identifier you created for a specific project. E.g. Summer Promotion
Some more details of where the user comes from. E.g.: cta-button
A URL the visitor arrived at.
A referral URL from where the visitor came from If nothing is set, it will be counted as direct traffic.
The date and time of creation of the visit. In case nothing is set, the current time is used.
Advanced: Register a custom action after this webhook was fired.
(String) Register a custom WordPress hook callback. The value will be called as followed: do_action( $yourdefinedaction, $action_return_data, $request_data )
More available AffiliateWP endpoints
To learn more about a specific endpoint, simply click on it.