Custom Data
Affiliates may have Custom Data Fields applied to them, which will be applied to calls originating through the affiliate. To apply Custom Data Values to an affiliate, the top level parametercustom_data should be assigned a hash with each pair’s key corresponding to a partner name. The value of the pair should be the value to be applied.
For the following example, we would apply the value “Offline newspaper” to the Custom Data Field “channel”.
https://invoca.net/api/2022-08-01/<network_id>/affiliates/<affiliate_id_from_network>.json
Get all Affiliates
Get all Affiliates
Examples
Read all Affiliates for this networkEndpoint:https://invoca.net/api/2022-08-01/<network_id>/affiliates.jsonResponse Body:Get an Affiliate
Get an Affiliate
Examples
Read a specific affiliateEndpoint:https://invoca.net/api/2022-08-01/<network_id>/affiliates/222.jsonResponse Body:Delete an Affiliate
Delete an Affiliate
Examples
Delete a single affiliateEndpoint:https://invoca.net/api/2022-08-01/<network_id>/affiliates/222.jsonResponse Body:Create an Affiliate
Create an Affiliate
Examples
Create an affiliate with usersEndpoint:https://invoca.net/api/2022-08-01/<network_id>/affiliates.jsonFormat: application/jsonRequest Body:Update an Affiliate
Update an Affiliate
Examples
Update a single affiliateEndpoint:https://invoca.net/api/2022-08-01/<network_id>/affiliates/222.jsonRequest Body: