AffiliateWP ability reference
Reference for the GoBuildWP Pro 1.15.0 source. Installed schemas and policy remain authoritative.
This AffiliateWP ability reference lists every call GoBuildWP Pro registers for AffiliateWP affiliates, referrals, payouts and creatives, with the exact slug an agent sends and what the plugin's own contract says it does. Of the 11, 7 read, 2 write and 2 are marked destructive in the source.
Setup, example prompts and limits are on the AffiliateWP integration page.
Read-only, write and destructive groups describe the source annotations. They do not establish a minimum safety profile, human approval or undo support. Those controls are separate: check the installed ability, the connected user and the active site policy before calling it. A read can still return sensitive data. These pages are not evidence that every operation passed an end-to-end runtime test.
What AffiliateWP needs before these load
These 11 abilities come with GoBuildWP Pro 1.15.0. Pro registration requires the Freemius SDK to permit premium code and any companion dependency the module checks to be available. The module declares no version floor of its own; dependency and permission checks still apply. wppilot/integration-health and the module's setup call describe the installed availability.
- Declared compatibility tags
- free, pro (source compatibility labels; these do not establish that the vendor sells a Free or Pro edition. Follow the prerequisites and installed-plugin checks below.)
AffiliateWP reads
| Ability | What it does |
|---|---|
wppilot/affiliatewp-get-affiliateGet AffiliateWP Affiliate | Reads one AffiliateWP affiliate (emails masked) and its 20 most recent referrals. Read-only. |
wppilot/affiliatewp-get-creativeGet AffiliateWP Creative | Reads one AffiliateWP creative. Read-only. |
wppilot/affiliatewp-get-payoutGet AffiliateWP Payout | Reads one AffiliateWP payout. Read-only. |
wppilot/affiliatewp-list-affiliatesList AffiliateWP Affiliates | Lists AffiliateWP affiliates, newest first, with their status, commission rate, earnings, referral and visit counts as AffiliateWP stores them. Payment and account emails are masked. Read-only. |
wppilot/affiliatewp-list-creativesList AffiliateWP Creatives | Lists AffiliateWP creatives (the banners and text links affiliates promote), newest first, with their link, image, text and status. Read-only. |
wppilot/affiliatewp-list-payoutsList AffiliateWP Payouts | Lists AffiliateWP payouts, newest first, optionally for one affiliate or status, with the amount, payout method and the referrals each one paid. Read-only: payouts are never created here. |
wppilot/affiliatewp-list-referralsList AffiliateWP Referrals | Lists AffiliateWP referrals, newest first, optionally for one affiliate or status, with each referral's amount and currency as stored, its context (the integration that recorded it), reference and payout. Read-only: referral amounts and statuses are not changed here. |
AffiliateWP writes
| Ability | What it does |
|---|---|
wppilot/affiliatewp-create-creativeCreate AffiliateWP Creative | Creates an AffiliateWP creative (a banner when image is given, otherwise a text link) pointing at url. It is inactive unless status=active is given, because an active creative is shown to every affiliate at once. Undo with wppilot/rollback-change, which deletes it again while its name is unchanged and this AffiliateWP can delete creatives. |
wppilot/affiliatewp-update-creativeUpdate AffiliateWP Creative | Changes an AffiliateWP creative's name, description, link, image, text or status. Fields not given keep their value. Undo with wppilot/rollback-change, which puts the previous values back. |
Destructive AffiliateWP calls
| Ability | What it does |
|---|---|
wppilot/affiliatewp-approve-affiliateApprove AffiliateWP Affiliate | Approves a pending AffiliateWP affiliate application: sets its status to active with affwp_set_affiliate_status(), so the affiliate can start earning referrals. Only a pending affiliate is changed. AffiliateWP and other plugins react to the change, for example by emailing the affiliate; those cannot be recalled. Requires confirm=true. Undo with wppilot/rollback-change, which sets it back to pending while it is still active. |
wppilot/affiliatewp-delete-creativeDelete AffiliateWP Creative | Deletes an AffiliateWP creative, so affiliates no longer see it. Works only where this AffiliateWP has affwp_delete_creative(); otherwise it reports affiliatewp_unsupported and changes nothing. Requires confirm=true. Undo with wppilot/rollback-change, which adds it back with the same fields under a new creative_id. |
For the task-level view of AffiliateWP, with worked requests and what to check afterwards, see AffiliateWP integration page.