{"_id":"581b137f3f38c52f00ca2980","parentDoc":null,"user":"57b5de76d991192200cdd0c9","__v":0,"category":{"_id":"57fcc4860312b20e00ac64cb","__v":0,"version":"57fcc4860312b20e00ac64c0","project":"5435687035740020002a1c04","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2014-10-24T21:45:44.150Z","from_sync":false,"order":10,"slug":"api-methods","title":"API Methods"},"project":"5435687035740020002a1c04","version":{"_id":"57fcc4860312b20e00ac64c0","project":"5435687035740020002a1c04","__v":1,"createdAt":"2016-10-11T10:52:54.637Z","releaseDate":"2016-10-11T10:52:54.637Z","categories":["57fcc4860312b20e00ac64c1","57fcc4860312b20e00ac64c2","57fcc4860312b20e00ac64c3","57fcc4860312b20e00ac64c4","57fcc4860312b20e00ac64c5","57fcc4860312b20e00ac64c6","57fcc4860312b20e00ac64c7","57fcc4860312b20e00ac64c8","57fcc4860312b20e00ac64c9","57fcc4860312b20e00ac64ca","57fcc4860312b20e00ac64cb"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"[APP-1265], [APP-1035]","version_clean":"5.2.0","version":"5.2"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-11-03T10:37:51.434Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"settings":"","results":{"codes":[]},"auth":"never","params":[],"url":""},"isReference":false,"order":1,"body":"Each affiliate account has a unique token identifier which can be used to administer the account using the TelemetryTV API.\n\n## Get Affiliated To\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"GET https://api.telemetrytv.com/account/affiliates/to\",\n  \"body\": \"This method will return a list of affiliates related to an account.\"\n}\n[/block]\n## Get Affiliated With\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"GET https://api.telemetrytv.com/account/affiliates/with\",\n  \"body\": \"This method will return a list of affiliates related with an account.\"\n}\n[/block]\n## Update an Affiliate\n[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"PATCH https://api.telemetrytv.com/account/affiliates/:id\",\n  \"body\": \"This method will update an affilate.\"\n}\n[/block]\n## Delete an Affiliate\n[block:callout]\n{\n  \"type\": \"danger\",\n  \"title\": \"DELETE https://api.telemetrytv.com/account/affiliates/:id\",\n  \"body\": \"This method will delete an affiliate.\"\n}\n[/block]","excerpt":"Create child accounts associated to your parent account.","slug":"affiliates","type":"basic","title":"Affiliates"}

Affiliates

Create child accounts associated to your parent account.

Each affiliate account has a unique token identifier which can be used to administer the account using the TelemetryTV API. ## Get Affiliated To [block:callout] { "type": "info", "title": "GET https://api.telemetrytv.com/account/affiliates/to", "body": "This method will return a list of affiliates related to an account." } [/block] ## Get Affiliated With [block:callout] { "type": "info", "title": "GET https://api.telemetrytv.com/account/affiliates/with", "body": "This method will return a list of affiliates related with an account." } [/block] ## Update an Affiliate [block:callout] { "type": "warning", "title": "PATCH https://api.telemetrytv.com/account/affiliates/:id", "body": "This method will update an affilate." } [/block] ## Delete an Affiliate [block:callout] { "type": "danger", "title": "DELETE https://api.telemetrytv.com/account/affiliates/:id", "body": "This method will delete an affiliate." } [/block]