connections

POST /admin/connections

Changed on

Creates connections between your affiliates and customers

Request

  • Base URL
    https://api.goaffpro.com/v1
  • URL
    https://api.goaffpro.com/v1/admin/connections
  • Auth
    API key in header x-goaffpro-access-token

Request body

overwriteboolean

Overwrite the already existing connections

Example request

{
  "connections": [
    {
      "customer": {
        "name": "John Doe",
        "email": "jdoe@example.com"
      },
      "affiliate": {
        "id": "1234"
      }
    }
  ],
  "overwrite": false
}

Response

creatednumber

Changes

    • warning

      removed the request property /// (media type: application/json)

    • warning

      removed the request property /// (media type: application/x-www-form-urlencoded)

    • info

      added the new optional request property /// (media type: application/json)

    • info

      added the new optional request property /// (media type: application/x-www-form-urlencoded)