{
  "opencollection": "1.0.0",
  "info": {
    "name": "Neon CRM API v2 Accounts Campaigns API",
    "version": "2.11"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Campaigns",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List campaigns",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.neoncrm.com/v2/campaigns"
          },
          "docs": "List campaigns"
        },
        {
          "info": {
            "name": "Create a campaign",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.neoncrm.com/v2/campaigns",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a campaign"
        },
        {
          "info": {
            "name": "Retrieve a campaign",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.neoncrm.com/v2/campaigns/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the campaign."
              }
            ]
          },
          "docs": "Retrieve a campaign"
        },
        {
          "info": {
            "name": "Update a campaign",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.neoncrm.com/v2/campaigns/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the campaign."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "The socialFundraising.enabled field must be explicitly set to true when updating a campaign via API v2, or peer-to-peer fundraising support will be disabled in the UI (fixed default behavior noted in API v2.2 release notes)."
        },
        {
          "info": {
            "name": "Partially update a campaign",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.neoncrm.com/v2/campaigns/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the campaign."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Partially update a campaign"
        },
        {
          "info": {
            "name": "Delete a campaign",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.neoncrm.com/v2/campaigns/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the campaign."
              }
            ]
          },
          "docs": "Delete a campaign"
        }
      ]
    }
  ],
  "bundled": true
}