Feature and plugin specific

Import lifetime relationships

Sometimes when you are using the lifetime commissions (https://support.qualityunit.com/541587-Lifetime-commissions) feature (and you have a lot of new affiliates with their own customers), you may want to import all their relationships to PAP at once. In this case, we made the following script which imports relationships from a CSV file. The CSV file has to be in this exact format (below you can download an example). In the API script you have to replace PAP URL, merchant's username and...

How to create affiliate sale tracking code

In this example you can see how to create new affiliate sale tracking code (https://support.qualityunit.com/573712-Affiliate-Sale-Tracking-Codes) for a specific affiliate and specific campaign via API. By default each sale tracking code is created as Pending and merchant need to approve it. How to approve existing affiliate sale tracking code via API is described here (https://support.qualityunit.com/909884-How-to-approve-affiliate-sale-tracking-code). <?php //the PapApi.class.php can be do...

How to approve affiliate sale tracking code

In this example you can see how to approve existing affiliate sale tracking code (https://support.qualityunit.com/573712-Affiliate-Sale-Tracking-Codes) via API. Creating of new affiliate sale tracking code via API is described here (https://support.qualityunit.com/608230-How-to-create-affiliate-sale-tracking-code). <?php //the PapApi.class.php can be downloaded from the merchant panel at Tools > Integration > API Integration > Download PAP API include 'PapApi.class.php'; //this inc...
×