PHP script to modify all affiliates

Jun 04 (27 days ago)
Steve Carbary wrote
Does anybody have and is willing to share, or know of a publicly available, PHP script to modify the attributes of every affiliate using the API? E.g. Set a checkbox field to FALSE for everyone.

I'm trying to avoid manually editing every individual affiliate and PAP doesn't provide a way modify attributes of all affiliates at once. Any help gratefully received.
Reply
1 Answer
Avatar image
Jun 04 (27 days ago)
Martin Pullmann agent wrote
Hi Steve,

You can use API to do that. First you have to load all the affiliates (affiliate IDs) you want to update/edit:
https://support.qualityunit.com/608550-Pap_Api_AffiliatesGrid

Then you can change each with:
https://support.qualityunit.com/961744-Pap_Api_Affiliate