Property | Type | Value |
|---|---|---|
affiliate_id_from_network | string | The network id for the affiliate. (read only) |
status | One of: Pending, Approved, Suspended, Declined, Deactivated | Status of the advertiser ‐ affiliate relationship. |
https://invoca.net/api/2019-05-01/<network_id>/advertisers/<advertiser_id_from_network>/affiliates/<affiliate_id_from_network>.json
Get all Advertiser-Affiliate relationships
Get all Advertiser-Affiliate relationships
Examples
Read all relationships for advertiser id from network 1Endpoint:https://invoca.net/api/2019-05-01/<network_id>/advertisers/1/affiliates.jsonFormat: application/jsonResponse Code: 200Response Body:Get an Advertiser-Affiliate relationship
Get an Advertiser-Affiliate relationship
Examples
Read a single relationshipEndpoint:https://invoca.net/api/2019-05-01/<network_id>/advertisers/1/affiliates/222.jsonFormat: application/jsonResponse Code: 200Response Body:Create an Advertiser-Affiliate relationship
Create an Advertiser-Affiliate relationship
Examples
Create relationship between Advertiser id from network 1 and Affiliate id from network 222Endpoint:https://invoca.net/api/2019-05-01/<network_id>/advertisers/1/affiliates/222.jsonFormat: application/jsonRequest Body:Update an Advertiser-Affiliate relationship
Update an Advertiser-Affiliate relationship
Examples
Update an Advertiser-Affiliate relationship with id from network 1 and Affiliate id from network 222Endpoint:https://invoca.net/api/2019-05-01/<network_id>/advertisers/1/affiliates/222.jsonFormat: application/jsonRequest Body:Delete an Advertiser-Affiliate relationship
Delete an Advertiser-Affiliate relationship
Examples
Delete a relationshipEndpoint:https://invoca.net/api/2019-05-01/<network_id>/advertisers/1/affiliates/222.jsonResponse Code: 200