Omnistar Affiliate Software User Guide

There are 3 files for Add, Edit and Delete the program with the following names.


1. webs_insertprogram.php

2. webs_editprogram.php

3. webs_deleteprogram.php


1. webs_insertprogram.php


    webs_insertprogram.php => can be used to add the program by simply giving the API token in"usertoken" field. You can add more item (fields) within "customfields".


    For adding more fields add within "customfields" option like the following.


    field name


    field value


    Field name should be same as your database "product_groups" table field names.


    If you want to add program description then you need to add the following


    description


    field description


    Here "description" is the field name taken from database "product_groups" table.


2. webs_editprogram.php


    webs_editprogram.php => can be used to edit the program by simply giving the API token in "usertoken" field.You can add more item (fields) within "customfields".


    For adding more fields add within "customfields" option like the following.


    field name


    field value


    Field name should be same as your database "product_groups" table field names. If you want to change program description then you need to add the Following.


    If you want to add program description then you need to add the following


    description


    field description


    Here "description" is the field name taken from database "product_groups" table.


    Also, you need to give program_id for the program to which you want to update


    prodgroup_id

    the integer id


    Here "prodgroup_id" is the unique field taken from database "product_groups" table and the value should be its real unique id (primary key).


3. webs_deleteprogram.php


    webs_deleteprogram.php => can be used to delete the program by simply giving the API token in "usertoken" field.


    You can delete one or more program by giving the program name in "programname" tag. Like the following.


    your program name