Add an affiliate to the network
required: network_id (ID of the affiliate network)
required: client_id (ID of the client who should become affiliate)
required: parent_id (AffilateNetworkMember.id of this affiliate's affiliate, If none, please provide 0 as value)
Arguments
network_id |
integer, required |
client_id |
integer, required |
parent_id |
integer, required |
Add a client to an affiliate
required: affiliate_id (ID of the affiliate )
required: client_id (ID of the client)
Arguments
network_id |
integer, required_without:affiliate_id |
affiliate_id |
integer, required_without:network_id |
client_id |
integer, required |
make_him_affiliate |
in: 0, 1 |
Remove a client from an affiliate
required: affiliate_id (ID of the affiliate )
required: client_id (ID of the client)
Arguments
affiliate_id |
integer, required |
client_id |
integer, required |
Get all records with pagination.
The function accepts limit and has a maximum limit that can not be overwritten
@return
Data Table object
Arguments
Get all records
this function returns all the records. Pagination / limit are not accepted
Arguments
Get one record based on id
Arguments
Get Change Log for an object
Arguments